[Dwarf-discuss] Proposal for DW_AT_rnglists_base table F.1

David Anderson davea42@linuxmail.org
Tue Jun 18 21:43:23 GMT 2024


BACKGROUND:
References are to DWARF5 unless otherwise indicated.

The basic issue is that .debug_rnglists is sometimes
mentioned as being part of a split-full compilation
unit and yet other places say that is incorrect.
In other words the standard conflicts with itself.

There is clarity in Sec 3.1.2 Skeleton Compil...
Page 66,67:
(lists a few attributes, not including
DW_AT_rnglists_base)
"All other attributes of a compilation unit
entry are placed in the split full compilation unit."
(comment: this makes Table F.1 incorrect)

Sec 3.1.3 says DW_AT_rnglists_base is inherited
from the skeleton. That is wrong and corrected
in DW6.

Table F.1
DW5 has no check mark for DW_AT_rnglists_base
in Skelton or Split Full
Wrong.

Table F.1
DW6 has check mark for DW_AT_rnglists_base
in Skeleton but not Split Full.
Wrong.


PROPOSAL:

Table F.1, for DW_AT_rnglists_base
should have:
No check-mark for Skeleton.
One check-mark for Split Full.
(the check-mark for Full & Partial
is correct in DW5 and DW6)



David Anderson


More information about the Dwarf-discuss mailing list