Lines Matching full:cu

33 _dwarf_abbrev_add(Dwarf_CU cu, uint64_t entry, uint64_t tag, uint8_t children,  in _dwarf_abbrev_add()  argument
39 dbg = cu != NULL ? cu->cu_dbg : NULL; in _dwarf_abbrev_add()
58 if (cu != NULL) in _dwarf_abbrev_add()
59 HASH_ADD(ab_hh, cu->cu_abbrev_hash, ab_entry, in _dwarf_abbrev_add()
100 _dwarf_abbrev_parse(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Unsigned *offset, in _dwarf_abbrev_parse() argument
124 ret = _dwarf_abbrev_add(cu, entry, 0, 0, aboff, abp, in _dwarf_abbrev_parse()
134 if ((ret = _dwarf_abbrev_add(cu, entry, tag, children, aboff, in _dwarf_abbrev_parse()
155 _dwarf_abbrev_find(Dwarf_CU cu, uint64_t entry, Dwarf_Abbrev *abp, in _dwarf_abbrev_find() argument
167 HASH_FIND(ab_hh, cu->cu_abbrev_hash, &entry, sizeof(entry), ab); in _dwarf_abbrev_find()
173 if (cu->cu_abbrev_loaded) { in _dwarf_abbrev_find()
178 ds = _dwarf_find_section(cu->cu_dbg, ".debug_abbrev"); in _dwarf_abbrev_find()
182 offset = cu->cu_abbrev_offset_cur; in _dwarf_abbrev_find()
184 ret = _dwarf_abbrev_parse(cu->cu_dbg, cu, &offset, &ab, error); in _dwarf_abbrev_find()
188 cu->cu_abbrev_offset_cur = offset; in _dwarf_abbrev_find()
193 cu->cu_abbrev_offset_cur = offset; in _dwarf_abbrev_find()
194 cu->cu_abbrev_loaded = 1; in _dwarf_abbrev_find()
203 _dwarf_abbrev_cleanup(Dwarf_CU cu) in _dwarf_abbrev_cleanup() argument
208 assert(cu != NULL); in _dwarf_abbrev_cleanup()
210 HASH_ITER(ab_hh, cu->cu_abbrev_hash, ab, tab) { in _dwarf_abbrev_cleanup()
211 HASH_DELETE(ab_hh, cu->cu_abbrev_hash, ab); in _dwarf_abbrev_cleanup()
224 Dwarf_CU cu; in _dwarf_abbrev_gen() local
230 cu = STAILQ_FIRST(&dbg->dbg_cu); in _dwarf_abbrev_gen()
231 if (cu == NULL) in _dwarf_abbrev_gen()
239 for (ab = cu->cu_abbrev_hash; ab != NULL; ab = ab->ab_hh.next) { in _dwarf_abbrev_gen()
251 /* End of abbreviation for this CU. */ in _dwarf_abbrev_gen()