Home | History | Annotate | Download | only in libdw

Lines Matching defs:cu

44   struct Dwarf_CU *cu = attr->cu;
51 uint8_t ref_size = (cu->version == 2 && attr->form == DW_FORM_ref_addr
52 ? cu->address_size
53 : cu->offset_size);
56 ? cu->dbg->alt_dwarf : cu->dbg);
64 if (__libdw_read_offset (cu->dbg, dbg_ret, IDX_debug_info, attr->valp,
78 uint64_t sig = read_8ubyte_unaligned (cu->dbg, attr->valp);
79 cu = Dwarf_Sig8_Hash_find (&cu->dbg->sig8_hash, sig, NULL);
80 if (cu == NULL)
84 cu = __libdw_intern_next_unit (attr->cu->dbg, true);
85 if (cu == NULL)
92 while (cu->type_sig8 != sig);
94 datap = cu->dbg->sectiondata[IDX_debug_types]->d_buf;
95 size = cu->dbg->sectiondata[IDX_debug_types]->d_size;
96 offset = cu->start + cu->type_offset;
100 /* Other forms produce an offset from the CU. */
104 datap = cu->startp;
105 size = cu->endp - cu->startp;
116 result->cu = cu;