[Bug debug/115945] DW_LNE_set_discriminator emitted right before Special Opcodes
blarsen at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 15 20:34:04 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115945
--- Comment #6 from Guinevere Larsen <blarsen at redhat dot com> ---
I don't have experience reading debug information in this format, and I don't
know how to turn this to a format I know (gdb, readelf or objdump).
However, I think the important section would be this:
.byte 0 # set address *.LM8
.uleb128 0x9
.byte 0x2
.quad .LM8
.byte 0 # discriminator 1
.uleb128 0x2
.byte 0x4
.uleb128 0x1
.byte 0x6 # is_stmt 0
.byte 0x1f # line 11
.byte 0x5 # column 18
.uleb128 0x12 # 18
And I think this means the line table is using the individual operations
instead of a special opcode. If I understood everything correctly, this output
is correct.
More information about the Gcc-bugs
mailing list