Lines Matching refs:attr
37 attr_form_cu (Dwarf_Attribute *attr)
40 .debug_info from the same cu as the attr. Otherwise it comes from
42 switch (attr->form)
49 return attr->cu;
51 return (attr->cu->version < 5
52 ? attr->cu->dbg->fake_loc_cu
53 : attr->cu->dbg->fake_loclists_cu);
72 dwarf_getlocation_attr (Dwarf_Attribute *attr, const Dwarf_Op *op, Dwarf_Attribute *result)
74 if (attr == NULL)
83 result->cu = attr_form_cu (attr);
91 result->cu = attr_form_cu (attr);
99 result->cu = attr_form_cu (attr);
105 if (attr->cu->address_size == 4)
109 result->valp = addr_valp (attr->cu, op->number);
112 result->cu = attr->cu->dbg->fake_addr_cu;
119 result->valp = addr_valp (attr->cu, op->number);
122 result->cu = attr->cu->dbg->fake_addr_cu;
130 if (INTUSE(dwarf_getlocation_die) (attr, op, &die) != 0)
145 if (INTUSE(dwarf_getlocation_die) (attr, op, &die) != 0)