Lines Matching defs:form_value

94     dw_attr_t &attr, DWARFFormValue &form_value) {
96 form_value.FormRef() = attr_spec.Form;
98 form_value.SetSigned(attr_spec.getImplicitConstValue());
129 DWARFFormValue form_value(cu);
131 ExtractAttrAndFormValue(attribute, attr, form_value);
133 if (form_value.ExtractValue(data, &offset)) {
136 lo_pc = form_value.Address();
144 lo_pc = form_value.Address();
148 if (form_value.Form() == DW_FORM_addr ||
149 form_value.Form() == DW_FORM_addrx ||
150 form_value.Form() == DW_FORM_GNU_addr_index) {
151 hi_pc = form_value.Address();
153 hi_pc = form_value.Unsigned();
164 GetRanges(*cu, form_value)) {
171 GetOffset(), llvm::dwarf::FormEncodingString(form_value.Form()),
172 form_value.Unsigned(), fmt_consume(r.takeError()));
178 name = form_value.AsCString();
184 mangled = form_value.AsCString();
188 dies.push_back(form_value.Reference());
192 dies.push_back(form_value.Reference());
197 decl_file = form_value.Unsigned();
202 decl_line = form_value.Unsigned();
207 decl_column = form_value.Unsigned();
212 call_file = form_value.Unsigned();
217 call_line = form_value.Unsigned();
222 call_column = form_value.Unsigned();
227 if (form_value.BlockData()) {
229 form_value.BlockData() - data.GetDataStart();
230 uint64_t block_length = form_value.Unsigned();
238 const dw_offset_t offset = form_value.Unsigned();
313 DWARFFormValue form_value(cu);
315 ExtractAttrAndFormValue(attribute, attr, form_value);
331 attributes.Append(form_value, offset, attr);
336 if (form_value.ExtractValue(data, &offset)) {
337 if (DWARFDIE spec_die = form_value.Reference()) {
343 const dw_form_t form = form_value.Form();
385 // offset of the attribute if it was properly extracted into form_value,
389 const DWARFUnit *cu, const dw_attr_t attr, DWARFFormValue &form_value,
404 form_value.SetUnit(cu);
405 form_value.SetForm(abbrevDecl->getFormByIndex(idx));
406 if (form_value.ExtractValue(data, &offset)) {
417 if (!GetAttributeValue(cu, elaborating_attr, form_value))
419 DWARFDIE die = form_value.Reference();
423 die.GetCU(), attr, form_value, end_attr_offset_ptr, false);
440 DWARFFormValue form_value;
441 if (GetAttributeValue(cu, attr, form_value, nullptr, check_elaborating_dies))
442 return form_value.AsCString();
452 DWARFFormValue form_value;
453 if (GetAttributeValue(cu, attr, form_value, nullptr, check_elaborating_dies))
454 return form_value.Unsigned();
462 DWARFFormValue form_value;
463 if (GetAttributeValue(cu, attr, form_value, nullptr, check_elaborating_dies))
464 return form_value.Unsigned();
475 DWARFFormValue form_value;
476 if (GetAttributeValue(cu, attr, form_value, nullptr, check_elaborating_dies))
477 return form_value.Reference();
484 DWARFFormValue form_value;
485 if (GetAttributeValue(cu, attr, form_value, nullptr, check_elaborating_dies))
486 return form_value.Address();
500 DWARFFormValue form_value;
501 if (GetAttributeValue(cu, DW_AT_high_pc, form_value, nullptr,
503 dw_form_t form = form_value.Form();
506 return form_value.Address();
509 return lo_pc + form_value.Unsigned();
539 DWARFFormValue form_value;
540 if (GetAttributeValue(cu, DW_AT_ranges, form_value))
541 return GetRanges(*cu, form_value);