Lines Matching refs:FormValue
250 const DWARFFormValue &FormValue = in processOneAttribute() local
257 : *FormValue.getAsUnsignedConstant(); in processOneAttribute()
260 auto GetFlag = [](const DWARFFormValue &FormValue) -> bool { in processOneAttribute() argument
261 return FormValue.isFormClass(DWARFFormValue::FC_Flag); in processOneAttribute()
264 auto GetBoundValue = [](const DWARFFormValue &FormValue) -> int64_t { in processOneAttribute() argument
265 switch (FormValue.getForm()) { in processOneAttribute()
273 return *FormValue.getAsReferenceUVal(); in processOneAttribute()
282 return *FormValue.getAsUnsignedConstant(); in processOneAttribute()
284 return *FormValue.getAsSignedConstant(); in processOneAttribute()
297 CurrentElement->setAccessibilityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
303 CurrentElement->setBitSize(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
314 CompileUnit->setCompilationDirectory(dwarf::toStringRef(FormValue)); in processOneAttribute()
317 if (FormValue.isFormClass(DWARFFormValue::FC_Block)) { in processOneAttribute()
318 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in processOneAttribute()
322 } else if (FormValue.isFormClass(DWARFFormValue::FC_Constant)) { in processOneAttribute()
325 if (FormValue.getForm() == dwarf::DW_FORM_sdata) { in processOneAttribute()
327 int64_t Value = *FormValue.getAsSignedConstant(); in processOneAttribute()
336 hexString(*FormValue.getAsUnsignedConstant(), 2)); in processOneAttribute()
338 CurrentElement->setValue(dwarf::toStringRef(FormValue)); in processOneAttribute()
341 CurrentElement->setCount(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
352 if (GetFlag(FormValue)) in processOneAttribute()
356 if (GetFlag(FormValue)) in processOneAttribute()
360 CurrentElement->setDiscriminator(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
363 CurrentElement->setInlineCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
366 CurrentElement->setLowerBound(GetBoundValue(FormValue)); in processOneAttribute()
369 CurrentElement->setName(dwarf::toStringRef(FormValue)); in processOneAttribute()
373 CurrentElement->setLinkageName(dwarf::toStringRef(FormValue)); in processOneAttribute()
377 CurrentElement->setProducer(dwarf::toStringRef(FormValue)); in processOneAttribute()
380 CurrentElement->setUpperBound(GetBoundValue(FormValue)); in processOneAttribute()
383 CurrentElement->setVirtualityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
392 updateReference(AttrSpec.Attr, FormValue); in processOneAttribute()
401 if (std::optional<uint64_t> Value = FormValue.getAsAddress()) { in processOneAttribute()
404 uint64_t UValue = FormValue.getRawUValue(); in processOneAttribute()
406 CurrentLowPC = *FormValue.getAsAddress(); in processOneAttribute()
427 if (std::optional<uint64_t> Address = FormValue.getAsAddress()) in processOneAttribute()
430 if (std::optional<uint64_t> Offset = FormValue.getAsUnsignedConstant()) in processOneAttribute()
443 auto GetRanges = [](const DWARFFormValue &FormValue, in processOneAttribute()
445 if (FormValue.getForm() == dwarf::DW_FORM_rnglistx) in processOneAttribute()
446 return U->findRnglistFromIndex(*FormValue.getAsSectionOffset()); in processOneAttribute()
447 return U->findRnglistFromOffset(*FormValue.getAsSectionOffset()); in processOneAttribute()
450 GetRanges(FormValue, U); in processOneAttribute()
481 processLocationMember(AttrSpec.Attr, FormValue, Die, OffsetOnEntry); in processOneAttribute()
489 processLocationList(AttrSpec.Attr, FormValue, Die, OffsetOnEntry); in processOneAttribute()
497 processLocationList(AttrSpec.Attr, FormValue, Die, OffsetOnEntry, in processOneAttribute()
971 const DWARFFormValue &FormValue, in processLocationList() argument
984 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in processLocationList()
986 FormValue.isFormClass(DWARFFormValue::FC_Exprloc))) { in processLocationList()
987 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in processLocationList()
1002 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in processLocationList()
1003 uint64_t Offset = *FormValue.getAsSectionOffset(); in processLocationList()
1004 if (FormValue.getForm() == dwarf::DW_FORM_loclistx) { in processLocationList()
1052 const DWARFFormValue &FormValue, in processLocationMember() argument
1056 if (FormValue.isFormClass(DWARFFormValue::FC_Constant)) in processLocationMember()
1058 CurrentSymbol->addLocationConstant(Attr, *FormValue.getAsUnsignedConstant(), in processLocationMember()
1062 processLocationList(Attr, FormValue, Die, OffsetOnEntry); in processLocationMember()
1067 const DWARFFormValue &FormValue) { in updateReference() argument
1071 uint64_t Reference = *FormValue.getAsReference(); in updateReference()
1077 if (FormValue.getForm() == dwarf::DW_FORM_ref_addr) { in updateReference()