Lines Matching defs:form_value

108     dw_attr_t &attr, DWARFFormValue &form_value) {
110 form_value.FormRef() = attr_spec.Form;
112 form_value.SetSigned(attr_spec.getImplicitConstValue());
143 DWARFFormValue form_value(cu);
145 ExtractAttrAndFormValue(attribute, attr, form_value);
147 if (form_value.ExtractValue(data, &offset)) {
150 lo_pc = form_value.Address();
158 lo_pc = form_value.Address();
162 if (form_value.Form() == DW_FORM_addr ||
163 form_value.Form() == DW_FORM_addrx ||
164 form_value.Form() == DW_FORM_GNU_addr_index) {
165 hi_pc = form_value.Address();
167 hi_pc = form_value.Unsigned();
177 ranges = GetRangesOrReportError(*cu, *this, form_value);
182 name = form_value.AsCString();
188 mangled = form_value.AsCString();
192 dies.push_back(form_value.Reference());
196 dies.push_back(form_value.Reference());
201 decl_file = form_value.Unsigned();
206 decl_line = form_value.Unsigned();
211 decl_column = form_value.Unsigned();
216 call_file = form_value.Unsigned();
221 call_line = form_value.Unsigned();
226 call_column = form_value.Unsigned();
231 if (form_value.BlockData()) {
233 form_value.BlockData() - data.GetDataStart();
234 uint32_t block_length = form_value.Unsigned();
242 const dw_offset_t offset = form_value.Unsigned();
308 DWARFFormValue form_value(cu);
310 ExtractAttrAndFormValue(attribute, attr, form_value);
326 attributes.Append(form_value, offset, attr);
332 if (form_value.ExtractValue(data, &offset)) {
333 DWARFDIE spec_die = form_value.Reference();
339 const dw_form_t form = form_value.Form();
353 // offset of the attribute if it was properly extracted into form_value,
357 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value,
373 form_value.SetUnit(cu);
374 form_value.SetForm(abbrevDecl->getFormByIndex(idx));
375 if (form_value.ExtractValue(data, &offset)) {
384 if (GetAttributeValue(cu, DW_AT_specification, form_value)) {
385 DWARFDIE die = form_value.Reference();
388 die.GetCU(), attr, form_value, end_attr_offset_ptr, false);
394 if (GetAttributeValue(cu, DW_AT_abstract_origin, form_value)) {
395 DWARFDIE die = form_value.Reference();
398 die.GetCU(), attr, form_value, end_attr_offset_ptr, false);
416 DWARFFormValue form_value;
417 if (GetAttributeValue(cu, attr, form_value, nullptr,
419 return form_value.AsCString();
429 DWARFFormValue form_value;
430 if (GetAttributeValue(cu, attr, form_value, nullptr,
432 return form_value.Unsigned();
440 DWARFFormValue form_value;
441 if (GetAttributeValue(cu, attr, form_value, nullptr,
443 return form_value.Unsigned();
454 DWARFFormValue form_value;
455 if (GetAttributeValue(cu, attr, form_value, nullptr,
457 return form_value.Reference();
464 DWARFFormValue form_value;
465 if (GetAttributeValue(cu, attr, form_value, nullptr,
467 return form_value.Address();
480 DWARFFormValue form_value;
481 if (GetAttributeValue(cu, DW_AT_high_pc, form_value, nullptr,
483 dw_form_t form = form_value.Form();
486 return form_value.Address();
489 return lo_pc + form_value.Unsigned();
520 DWARFFormValue form_value;
521 if (GetAttributeValue(cu, DW_AT_ranges, form_value))
522 return GetRangesOrReportError(*cu, *this, form_value);