Lines Matching refs:cu
68 _dwarf_abbrev_add(Dwarf_CU cu, uint64_t entry, uint64_t tag, uint8_t children,
75 dbg = cu != NULL ? cu->cu_dbg : NULL;
89 if (cu != NULL)
90 HASH_ADD(ab_hh, cu->cu_abbrev_hash, ab_entry,
133 _dwarf_abbrev_parse(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Unsigned *offset,
158 ret = _dwarf_abbrev_add(cu, entry, 0, 0, aboff, abp,
168 if ((ret = _dwarf_abbrev_add(cu, entry, tag, children, aboff,
206 _dwarf_abbrev_find(Dwarf_CU cu, uint64_t entry, Dwarf_Abbrev *abp,
218 HASH_FIND(ab_hh, cu->cu_abbrev_hash, &entry, sizeof(entry), ab);
224 if (cu->cu_abbrev_loaded) {
229 ds = _dwarf_find_section(cu->cu_dbg, ".debug_abbrev");
233 offset = cu->cu_abbrev_offset_cur;
235 ret = _dwarf_abbrev_parse(cu->cu_dbg, cu, &offset, &ab, error);
239 cu->cu_abbrev_offset_cur = offset;
244 cu->cu_abbrev_offset_cur = offset;
245 cu->cu_abbrev_loaded = 1;
254 _dwarf_abbrev_cleanup(Dwarf_CU cu)
258 assert(cu != NULL);
260 HASH_ITER(ab_hh, cu->cu_abbrev_hash, ab, tab) {
261 HASH_DELETE(ab_hh, cu->cu_abbrev_hash, ab);
269 Dwarf_CU cu;
275 cu = STAILQ_FIRST(&dbg->dbg_cu);
276 if (cu == NULL)
284 for (ab = cu->cu_abbrev_hash; ab != NULL; ab = ab->ab_hh.next) {
296 /* End of abbreviation for this CU. */