Re: [PATCH] libdw: Add new dwarf_get_units function to iterate over all units.

2018-02-21 Thread Mark Wielaard
On Tue, 2018-01-30 at 13:34 +0100, Mark Wielaard wrote: > The dwarf_nextcu and dwarf_next_unit functions provide information to > construct the offset to construct the associated CU DIE using dwarf_offdie > or dwarf_offdie_types.  This requires the user to know beforehand where > to DIE data is sto

[PATCH] libdw: Add new dwarf_get_units function to iterate over all units.

2018-01-30 Thread Mark Wielaard
The dwarf_nextcu and dwarf_next_unit functions provide information to construct the offset to construct the associated CU DIE using dwarf_offdie or dwarf_offdie_types. This requires the user to know beforehand where to DIE data is stored (in the .debug_info or .debug_types section). For type units