diff options
| author | Roland McGrath <[email protected]> | 2010-06-20 17:55:50 -0700 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2010-06-20 17:55:50 -0700 |
| commit | 2b1f09548b66c2c75d5be6f13cd9374adc95f8d8 (patch) | |
| tree | 35782d2db2a9f3bb01d8703da55b9a20cf3581c4 /libdw/libdwP.h | |
| parent | 5cc030d6169713ff4711c28a6ce1250b142cd5b3 (diff) | |
Finish .debug_types support in libdw and readelf.
Diffstat (limited to 'libdw/libdwP.h')
| -rw-r--r-- | libdw/libdwP.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libdw/libdwP.h b/libdw/libdwP.h index 558f961c..bb0ae1d1 100644 --- a/libdw/libdwP.h +++ b/libdw/libdwP.h @@ -171,9 +171,10 @@ struct Dwarf void *cu_tree; Dwarf_Off next_cu_offset; - /* Hash table for .debug_types type units. */ - Dwarf_Sig8_Hash sig8_hash; + /* Search tree and sig8 hash table for .debug_types type units. */ + void *tu_tree; Dwarf_Off next_tu_offset; + Dwarf_Sig8_Hash sig8_hash; /* Address ranges. */ Dwarf_Aranges *aranges; @@ -389,7 +390,7 @@ extern struct Dwarf_CU *__libdw_intern_next_unit (Dwarf *dbg, bool debug_types) __nonnull_attribute__ (1) internal_function; /* Find CU for given offset. */ -extern struct Dwarf_CU *__libdw_findcu (Dwarf *dbg, Dwarf_Off offset) +extern struct Dwarf_CU *__libdw_findcu (Dwarf *dbg, Dwarf_Off offset, bool tu) __nonnull_attribute__ (1) internal_function; /* Return tag of given DIE. */ |
