Home | History | Annotate | Download | only in libdw

Lines Matching refs:attr

59 dwarf_formref_die (attr, die_mem)
60 Dwarf_Attribute *attr;
63 if (attr == NULL)
67 if (attr->form == DW_FORM_ref_addr)
71 uint8_t ref_size = (attr->cu->version == 2
72 ? attr->cu->address_size
73 : attr->cu->offset_size);
76 offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
78 offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
83 if (unlikely (__libdw_formref (attr, &offset) != 0))
85 offset += attr->cu->start;
88 return INTUSE(dwarf_offdie) (attr->cu->dbg, offset, die_mem);