[Bug debug/103241] Odd 0 length entries in location lists
wcohen at redhat dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 18 15:11:36 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103241
--- Comment #10 from Will Cohen <wcohen at redhat dot com> ---
That example in comment #5 at [0x0000000000000055, 0x0000000000000055) looks
different than the original example as it is referring to an argument for an
inlined function. The function mentioned in the original description
static_protections is declared as inlined but is actually generated as an
non-inlined function.
Would https://dwarfstd.org/ShowIssue.php?issue=170427.1 apply in the original
example? Are there actual multiple views of the parameters in the places with
0-length location list entries?
The first 0-length location list entry for prot would be
.byte 0x4
.uleb128 .LVL615-.LVL615
.uleb128 .LVL615-.LVL615
.uleb128 0x1
.byte 0x55
The second 0-length location list entry in the location list would be:
.byte 0x4
.uleb128 .LVL637-.LVL615
.uleb128 .LHOTE19-.LVL615
.uleb128 0x1
.byte 0x52
More information about the Gcc-bugs
mailing list