[Dwarf-Discuss] Location list ranges vs. containing lexical block DW_AT_ranges

Roland McGrath roland at redhat.com
Fri Apr 9 16:07:22 PDT 2010


> Location lists and aranges are mutually independent.  The .debug_aranges
> section is to support accelerated access to the descriptive information in
> the .debug_info section.  As such, the .debug_aranges section is not required
> and some debuggers ignore it.

You've confused .debug_aranges with .debug_ranges here.  We're talking
about DW_AT_ranges (.debug_ranges), which is first-class information from
the DIE tree.


Thanks,
Roland



More information about the Dwarf-Discuss mailing list