libdwarf: Reading Split Dwarf (Debug Fission) data

libdwarf

Loading...
Searching...
No Matches
Reading Split Dwarf (Debug Fission) data

Example getting cu/tu name, offset.

Example getting cu/tu name, offset.

*/
int exampleza(Dwarf_Xu_Index_Header xuhdr,
Dwarf_Unsigned offsets_count,
Dwarf_Unsigned index,
Dwarf_Error *error)
{
Dwarf_Unsigned col = 0;
/* We use 'offsets_count' returned by
a dwarf_get_xu_index_header() call.
We use 'index' returned by a
dwarf_get_xu_hash_entry() call.
Dwarf_Xu_Index_Header
struct Dwarf_Xu_Index_Header_s * Dwarf_Xu_Index_Header
Definition libdwarf.h:712
Dwarf_Error
struct Dwarf_Error_s * Dwarf_Error
Definition libdwarf.h:611
Dwarf_Unsigned
unsigned long long Dwarf_Unsigned
Definition libdwarf.h:196