https://iis-git.ee.ethz.ch/H2020-Compiler/llvm/commit/1d68fc5021ca8c704e21f171d98bb18eb396a7fa
That LLVM basically emits DWARF expressions where is_stmt is true only
"once per line". Is that still true? Is there an option to emit more
than one per line?
Thanks all.
-Roger Pack-
refs:
https://github.com/crystal-lang/crystal/pull/8499
https://github.com/crystal-lang/crystal/issues/8319
_______________________________________________
LLVM Developers mailing list
llvm...@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
OK that makes sense. I've noticed that there'll be some DWARF
statements that set the line number to "0".
[0x0000048c] Special opcode 72: advance Address by 5 to 0x1000015b0
and Line by -3 to 0
[0x0000048d] Special opcode 78: advance Address by 5 to 0x1000015b5
and Line by 3 to 3
I assume this means some kind of internal processing? Anyway the
current work around crystal uses is to basically only accept DWARF
statements that have a positive line number [not sure if that's right
or not...], or if they're is_stmt then it accepts them :)
Thanks!