Lines Matching defs:FormValue

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