Lines Matching defs:dbg
100 __libdw_intern_next_unit (Dwarf *dbg, bool debug_types)
103 = debug_types ? &dbg->next_tu_offset : &dbg->next_cu_offset;
104 void **tree = debug_types ? &dbg->tu_tree : &dbg->cu_tree;
115 if (__libdw_next_unit (dbg, debug_types, oldoff, offsetp, NULL,
142 Elf_Data *data = dbg->sectiondata[sec_idx];
147 struct Dwarf_CU *newp = libdw_typed_alloc (dbg, struct Dwarf_CU);
149 newp->dbg = dbg;
213 Dwarf_Sig8_Hash_insert (&dbg->sig8_hash, unit_id8, newp);
229 __libdw_findcu (Dwarf *dbg, Dwarf_Off start, bool v4_debug_types)
231 void **tree = v4_debug_types ? &dbg->tu_tree : &dbg->cu_tree;
233 = v4_debug_types ? &dbg->next_tu_offset : &dbg->next_cu_offset;
250 struct Dwarf_CU *newp = __libdw_intern_next_unit (dbg, v4_debug_types);
263 __libdw_findcu_addr (Dwarf *dbg, void *addr)
267 if (addr >= dbg->sectiondata[IDX_debug_info]->d_buf
268 && addr < (dbg->sectiondata[IDX_debug_info]->d_buf
269 + dbg->sectiondata[IDX_debug_info]->d_size))
271 tree = &dbg->cu_tree;
272 start = addr - dbg->sectiondata[IDX_debug_info]->d_buf;
274 else if (dbg->sectiondata[IDX_debug_types] != NULL
275 && addr >= dbg->sectiondata[IDX_debug_types]->d_buf
276 && addr < (dbg->sectiondata[IDX_debug_types]->d_buf
277 + dbg->sectiondata[IDX_debug_types]->d_size))
279 tree = &dbg->tu_tree;
280 start = addr - dbg->sectiondata[IDX_debug_types]->d_buf;
296 __libdw_find_split_dbg_addr (Dwarf *dbg, void *addr)
301 Dwarf **found = tfind (&fake, &dbg->split_tree, __libdw_finddbg_cb);