Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jmorse2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
jmorse2
4y ago
As there's something about branch prediction on the front page right now, "The slow winter" [0] is well worth a read too because a) We should remember the magma people are waiting for our mistakes, and b) the branches rea
2.
▲
by
jmorse2
4y ago
> I'm referring to all the cases where the compiler obviously should know where the value is, yet the debugger somehow doesn't. Soooommmee of this can be explained by the design decisions in the compiler not lending themselves
3.
▲
by
jmorse2
4y ago
> I haven't looked at DWARF for ages. Can it describe the situation that a variable is valid (in some register) in the beginning of a function, but then goes "out of scope " in the middle of the function? Yes, with DW_OP_e
4.
▲
by
jmorse2
4y ago
Assuming you're referring to the articles first example, I suspect optimised-out is the correct outcome in that situation. The program is stopped at the start of one function, and the author is looking one stack frame up at this code:
5.
▲
by
jmorse2
4y ago
> they aren't (again, AFAIK) doing anything about it Person slightly doing things to LLVM checking in -- the three points you list are compelling, because it's always going to be difficult to describe one program (source) in te
6.
▲
by
jmorse2
4y ago
Possibly closer to the mark in terms of scripture is Ezekiel 38, which specifies that the Jews are to have returned/gathered from exile/dispersion and be living in peace ("unwalled cities") before an invasion/lootin
7.
▲
by
jmorse2
4y ago
I've got a copy and still use it sometimes -- being able to immediately see nearby words (like "glad", "gladly", "gladness") is quite useful, which you'd miss just searching for "glad". Bein
8.
▲
by
jmorse2
5y ago
(NB: the developers guide says to ping if there's no activity for a week)
9.
▲
by
jmorse2
6y ago
To reinforce this, one of the statistics that the beeb have wheeled out is that in the most vulnerable group being vaccinated (in the UK), aged 80+, one in ten of them will die regardless of covid in the next year. Quoted from "How to
10.
▲
by
jmorse2
6y ago
> I'd like to learn more about this. Maybe contribute to the compiler and fix this issue. You need to create a call to the `llvm.dbg.declare` intrinsic that connects the stack variable alloca to a DILocalVariable metadata node, and
11.
▲
by
jmorse2
6y ago
Thanks for finding all those bugs! I see the BI / SI / LI invariances you define are looking for program states that aren't present in the unoptimised program, while PI is looking for the absence of information that is in the
12.
▲
by
jmorse2
6y ago
It's DWARF-5 only: variable values can be expressed in terms of a parameters value on entry to the function. Depending on the circumstances, that value can be recovered from further up the stack frame. (Ninja edit: although tuning for
13.
▲
by
jmorse2
7y ago
Biblical sources describe tin as being sourced from Tarshish [0], a remote island that traded with the Phoenician naval merchants in Tyre. Plus as wtracz' sibling comment indicates there's a potential Phoenician connection with Co
14.
▲
by
jmorse2
7y ago
On the other hand, Herodotus describes islands off the north/west of Europe "from which we are said to have our tin" [0]. [0] https://en.wikipedia.org/wiki/Cassiterides