Lines Matching refs:FormValue
251 const DWARFFormValue &FormValue = in processOneAttribute() local
258 : *FormValue.getAsUnsignedConstant(); in processOneAttribute()
261 auto GetFlag = [](const DWARFFormValue &FormValue) -> bool { in processOneAttribute() argument
262 return FormValue.isFormClass(DWARFFormValue::FC_Flag); in processOneAttribute()
265 auto GetBoundValue = [](const DWARFFormValue &FormValue) -> int64_t { in processOneAttribute() argument
266 switch (FormValue.getForm()) { in processOneAttribute()
274 return *FormValue.getAsReferenceUVal(); in processOneAttribute()
283 return *FormValue.getAsUnsignedConstant(); in processOneAttribute()
285 return *FormValue.getAsSignedConstant(); in processOneAttribute()
298 CurrentElement->setAccessibilityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
304 CurrentElement->setBitSize(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
315 CompileUnit->setCompilationDirectory(dwarf::toStringRef(FormValue)); in processOneAttribute()
318 if (FormValue.isFormClass(DWARFFormValue::FC_Block)) { in processOneAttribute()
319 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in processOneAttribute()
323 } else if (FormValue.isFormClass(DWARFFormValue::FC_Constant)) { in processOneAttribute()
326 if (FormValue.getForm() == dwarf::DW_FORM_sdata) { in processOneAttribute()
328 int64_t Value = *FormValue.getAsSignedConstant(); in processOneAttribute()
337 hexString(*FormValue.getAsUnsignedConstant(), 2)); in processOneAttribute()
339 CurrentElement->setValue(dwarf::toStringRef(FormValue)); in processOneAttribute()
342 CurrentElement->setCount(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
353 if (GetFlag(FormValue)) in processOneAttribute()
357 if (GetFlag(FormValue)) in processOneAttribute()
361 CurrentElement->setDiscriminator(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
364 CurrentElement->setInlineCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
367 CurrentElement->setLowerBound(GetBoundValue(FormValue)); in processOneAttribute()
370 CurrentElement->setName(dwarf::toStringRef(FormValue)); in processOneAttribute()
374 CurrentElement->setLinkageName(dwarf::toStringRef(FormValue)); in processOneAttribute()
378 CurrentElement->setProducer(dwarf::toStringRef(FormValue)); in processOneAttribute()
381 CurrentElement->setUpperBound(GetBoundValue(FormValue)); in processOneAttribute()
384 CurrentElement->setVirtualityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute()
393 updateReference(AttrSpec.Attr, FormValue); in processOneAttribute()
402 if (std::optional<uint64_t> Value = FormValue.getAsAddress()) { in processOneAttribute()
405 uint64_t UValue = FormValue.getRawUValue(); in processOneAttribute()
407 CurrentLowPC = *FormValue.getAsAddress(); in processOneAttribute()
430 if (std::optional<uint64_t> Address = FormValue.getAsAddress()) in processOneAttribute()
433 if (std::optional<uint64_t> Offset = FormValue.getAsUnsignedConstant()) in processOneAttribute()
453 auto GetRanges = [](const DWARFFormValue &FormValue, in processOneAttribute()
455 if (FormValue.getForm() == dwarf::DW_FORM_rnglistx) in processOneAttribute()
456 return U->findRnglistFromIndex(*FormValue.getAsSectionOffset()); in processOneAttribute()
457 return U->findRnglistFromOffset(*FormValue.getAsSectionOffset()); in processOneAttribute()
460 GetRanges(FormValue, U); in processOneAttribute()
494 processLocationMember(AttrSpec.Attr, FormValue, Die, OffsetOnEntry); in processOneAttribute()
502 processLocationList(AttrSpec.Attr, FormValue, Die, OffsetOnEntry); in processOneAttribute()
510 processLocationList(AttrSpec.Attr, FormValue, Die, OffsetOnEntry, in processOneAttribute()
985 const DWARFFormValue &FormValue, in processLocationList() argument
998 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in processLocationList()
1000 FormValue.isFormClass(DWARFFormValue::FC_Exprloc))) { in processLocationList()
1001 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in processLocationList()
1016 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in processLocationList()
1017 uint64_t Offset = *FormValue.getAsSectionOffset(); in processLocationList()
1018 if (FormValue.getForm() == dwarf::DW_FORM_loclistx) { in processLocationList()
1066 const DWARFFormValue &FormValue, in processLocationMember() argument
1070 if (FormValue.isFormClass(DWARFFormValue::FC_Constant)) in processLocationMember()
1072 CurrentSymbol->addLocationConstant(Attr, *FormValue.getAsUnsignedConstant(), in processLocationMember()
1076 processLocationList(Attr, FormValue, Die, OffsetOnEntry); in processLocationMember()
1081 const DWARFFormValue &FormValue) { in updateReference() argument
1086 if (std::optional<uint64_t> Off = FormValue.getAsRelativeReference()) in updateReference()
1087 Offset = FormValue.getUnit()->getOffset() + *Off; in updateReference()
1088 else if (Off = FormValue.getAsDebugInfoReference(); Off) in updateReference()
1098 if (FormValue.getForm() == dwarf::DW_FORM_ref_addr) { in updateReference()