Lines Matching full:cu

52 _dwarf_die_add(Dwarf_CU cu, uint64_t offset, uint64_t abnum, Dwarf_Abbrev ab,  in _dwarf_die_add()  argument
59 assert(cu != NULL); in _dwarf_die_add()
62 dbg = cu->cu_dbg; in _dwarf_die_add()
70 die->die_cu = cu; in _dwarf_die_add()
71 die->die_dbg = cu->cu_dbg; in _dwarf_die_add()
78 /* Find die at offset 'off' within the same CU. */
84 Dwarf_CU cu; in _dwarf_die_find() local
89 cu = die->die_cu; in _dwarf_die_find()
91 ds = cu->cu_is_info ? dbg->dbg_info_sec : dbg->dbg_types_sec; in _dwarf_die_find()
93 ret = _dwarf_die_parse(dbg, ds, cu, cu->cu_dwarf_size, off, in _dwarf_die_find()
94 cu->cu_next_offset, &die1, 0, &de); in _dwarf_die_find()
103 _dwarf_die_parse(Dwarf_Debug dbg, Dwarf_Section *ds, Dwarf_CU cu, in _dwarf_die_parse() argument
114 assert(cu != NULL); in _dwarf_die_parse()
136 if ((ret = _dwarf_abbrev_find(cu, abnum, &ab, error)) != in _dwarf_die_parse()
140 if ((ret = _dwarf_die_add(cu, die_offset, abnum, ab, &die, in _dwarf_die_parse()
146 dwarf_size, cu, die, ad, ad->ad_form, 0, in _dwarf_die_parse()
276 _dwarf_die_gen_recursive(Dwarf_P_Debug dbg, Dwarf_CU cu, Dwarf_Rel_Section drs, in _dwarf_die_gen_recursive() argument
306 for (ab = cu->cu_abbrev_hash; ab != NULL; ab = ab->ab_hh.next) { in _dwarf_die_gen_recursive()
338 ret = _dwarf_abbrev_add(cu, ++cu->cu_abbrev_cnt, die->die_tag, in _dwarf_die_gen_recursive()
365 ret = _dwarf_attr_gen(dbg, ds, drs, cu, die, pass2, error); in _dwarf_die_gen_recursive()
371 ret = _dwarf_die_gen_recursive(dbg, cu, drs, die->die_child, in _dwarf_die_gen_recursive()
379 ret = _dwarf_die_gen_recursive(dbg, cu, drs, die->die_right, in _dwarf_die_gen_recursive()
397 _dwarf_die_gen(Dwarf_P_Debug dbg, Dwarf_CU cu, Dwarf_Rel_Section drs, in _dwarf_die_gen() argument
405 assert(dbg != NULL && cu != NULL); in _dwarf_die_gen()
418 RCHECK(_dwarf_die_gen_recursive(dbg, cu, drs, die, 0, error)); in _dwarf_die_gen()
420 if (cu->cu_pass2) in _dwarf_die_gen()
421 RCHECK(_dwarf_die_gen_recursive(dbg, cu, drs, die, 1, error)); in _dwarf_die_gen()
427 HASH_ITER(ab_hh, cu->cu_abbrev_hash, ab, tab) { in _dwarf_die_gen()
428 HASH_DELETE(ab_hh, cu->cu_abbrev_hash, ab); in _dwarf_die_gen()