[Dwarf-discuss] Question on Clang 18.1.8 and DW_IDX_parent

David Anderson davea42@linuxmail.org
Sat Aug 31 20:02:46 GMT 2024


Dwarf5. The Name Table .debug_names

Background:
6.1.1.2, page 141
Parent debugging information entry, a reference to the
index entry for the parent. This is represented as the
offset of the entry relative to the start of the entry
pool.

Table 7.232 Name index attribute encodings
       DW_IDX_parent constant


However clang version 18.1.8 generates

DW_IDX_parent      DW_FORM_flag_present
when there is no parent entry to refer to.

And that does not seem to match what DWARF5
says to do.

So what is 'true' supposed to mean for DW_IDX_parent?

A bit puzzled here.
Thanks for any insight.
David Anderson

--
Lisp Users: Due to the holiday next
Monday, there will be no garbage
collection. --seen on Slashdot


More information about the Dwarf-discuss mailing list