Displaying 1 result from an estimated 1 matches for "dw_op_breg5".
Did you mean:
dw_op_breg7
2012 Sep 03
0
[LLVMdev] DBG_VALUE instruction format and generation
...DBG_VALUE %EDI, 0, !"a"; line no:47
for two completely different cases:
* when value of "a" is actually stored in a register %edi (this should
be encoded as "DW_OP_reg5" in DWARF).
* when value of "a" is stored in memory at address stored in
%edi ("DW_OP_breg5, 0" in DWARF).
Currently LLVM handles this in favor of first case, and produces wrong
debug info for the second case. Can these cases
actually be distinguished, and if yes, where should I take a look?
2) This one is more general. I'm trying to make "clang -g" work well with
Add...