[Dwarf-Discuss] Split Dwarf vs. CU DW_AT_ranges / DW_AT_low_pc placement

Cary Coutant ccoutant@gmail.com
Thu Mar 11 00:02:39 GMT 2021


> > So in the end the logical thing to do when encountering a
> > DW_FORM_rnglistx in a split-unit, in order to support everybody, is
> > probably to go to the .debug_rnglists.dwo section, if there's one,
> > disregarding the (inherited) DW_AT_rnglists_base.  If there isn't, then
> > try the linked file's .debug_rnglists section, using
> > DW_AT_rnglists_base.  If there isn't, then something is malformed.

Looks reasonable to me. I think we need a new issue to clarify this in DWARF 6.

-cary



More information about the Dwarf-discuss mailing list