Home | History | Annotate | Download | only in libdw

Lines Matching refs:result

56 dwarf_getlocation_attr (Dwarf_Attribute *attr, const Dwarf_Op *op, Dwarf_Attribute *result)
64 result->code = DW_AT_const_value;
65 result->form = DW_FORM_block;
66 result->valp = (unsigned char *) (uintptr_t) op->number2;
67 result->cu = attr_form_cu (attr);
71 result->code = DW_AT_location;
72 result->form = DW_FORM_exprloc;
73 result->valp = (unsigned char *) (uintptr_t) op->number2;
74 result->cu = attr_form_cu (attr);
78 result->code = DW_AT_const_value;
79 result->form = DW_FORM_block1;
80 result->valp = (unsigned char *) (uintptr_t) op->number2;
81 result->cu = attr_form_cu (attr);
91 if (INTUSE(dwarf_attr) (&die, DW_AT_location, result) == NULL)
93 __libdw_empty_loc_attr (result);
104 if (INTUSE(dwarf_attr) (&die, DW_AT_location, result) == NULL
105 && INTUSE(dwarf_attr) (&die, DW_AT_const_value, result) == NULL)
107 __libdw_empty_loc_attr (result);