Lines Matching defs:FormValue

71 static void dumpLocationList(raw_ostream &OS, const DWARFFormValue &FormValue,
74 assert(FormValue.isFormClass(DWARFFormValue::FC_SectionOffset) &&
77 uint64_t Offset = *FormValue.getAsSectionOffset();
79 if (FormValue.getForm() == DW_FORM_loclistx) {
80 FormValue.dump(OS, DumpOpts);
91 static void dumpLocationExpr(raw_ostream &OS, const DWARFFormValue &FormValue,
94 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) ||
95 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) &&
98 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock();
125 const DWARFFormValue &FormValue = AttrValue.Value;
135 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) {
145 } else if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant())
152 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant())
155 FormValue.dump(OS, DumpOpts);
157 (FormValue.getAsAddress() ==
160 FormValue.dump(OS, DumpOpts);
167 FormValue.getAsUnsignedConstant()) {
174 FormValue.dump(OS, DumpOpts);
177 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset))
178 dumpLocationList(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4,
180 else if (FormValue.isFormClass(DWARFFormValue::FC_Exprloc) ||
182 FormValue.isFormClass(DWARFFormValue::FC_Block)))
183 dumpLocationExpr(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4,
186 FormValue.dump(OS, DumpOpts);
196 Die.getAttributeValueAsReferencedDie(FormValue).getName(
200 DWARFDie D = resolveReferencedType(Die, FormValue);
207 if (std::optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant())
213 if (FormValue.getForm() == DW_FORM_rnglistx)
215 U->getRnglistOffset(*FormValue.getAsSectionOffset())) {
358 if (auto FormValue = find(DW_AT_high_pc)) {
359 if (auto Address = FormValue->getAsAddress()) {
363 if (auto Offset = FormValue->getAsUnsignedConstant()) {
495 if (auto FormValue = findRecursively(DW_AT_decl_file))
496 if (auto OptString = FormValue->getAsFile(Kind))