Lines Matching refs:cu
44 struct Dwarf_CU *cu = attr->cu; in dwarf_formref_die() local
53 if (cu->version == 2 && attr->form == DW_FORM_ref_addr) in dwarf_formref_die()
54 ref_size = cu->address_size; in dwarf_formref_die()
60 ref_size = cu->offset_size; in dwarf_formref_die()
63 ? INTUSE(dwarf_getalt) (cu->dbg) : cu->dbg); in dwarf_formref_die()
71 if (__libdw_read_offset (cu->dbg, dbg_ret, IDX_debug_info, attr->valp, in dwarf_formref_die()
85 uint64_t sig = read_8ubyte_unaligned (cu->dbg, attr->valp); in dwarf_formref_die()
86 cu = Dwarf_Sig8_Hash_find (&cu->dbg->sig8_hash, sig, NULL); in dwarf_formref_die()
87 if (cu == NULL) in dwarf_formref_die()
95 cu = __libdw_intern_next_unit (attr->cu->dbg, scan_debug_types); in dwarf_formref_die()
96 if (cu == NULL) in dwarf_formref_die()
108 while (cu == NULL || cu->unit_id8 != sig); in dwarf_formref_die()
111 int secid = cu_sec_idx (cu); in dwarf_formref_die()
112 datap = cu->dbg->sectiondata[secid]->d_buf; in dwarf_formref_die()
113 size = cu->dbg->sectiondata[secid]->d_size; in dwarf_formref_die()
114 offset = cu->start + cu->subdie_offset; in dwarf_formref_die()
122 datap = cu->startp; in dwarf_formref_die()
123 size = cu->endp - cu->startp; in dwarf_formref_die()
134 result->cu = cu; in dwarf_formref_die()