Lines Matching defs:FormValue
72 static void dumpLocationList(raw_ostream &OS, const DWARFFormValue &FormValue,
75 assert(FormValue.isFormClass(DWARFFormValue::FC_SectionOffset) &&
78 uint64_t Offset = *FormValue.getAsSectionOffset();
80 if (FormValue.getForm() == DW_FORM_loclistx) {
81 FormValue.dump(OS, DumpOpts);
92 static void dumpLocationExpr(raw_ostream &OS, const DWARFFormValue &FormValue,
95 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) ||
96 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) &&
99 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock();
126 const DWARFFormValue &FormValue = AttrValue.Value;
136 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) {
146 } else if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant())
153 if (std::optional<uint64_t> Val = FormValue.getAsUnsignedConstant())
156 FormValue.dump(OS, DumpOpts);
158 (FormValue.getAsAddress() ==
161 FormValue.dump(OS, DumpOpts);
168 FormValue.getAsUnsignedConstant()) {
175 FormValue.dump(OS, DumpOpts);
178 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset))
179 dumpLocationList(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4,
181 else if (FormValue.isFormClass(DWARFFormValue::FC_Exprloc) ||
183 FormValue.isFormClass(DWARFFormValue::FC_Block)))
184 dumpLocationExpr(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4,
187 FormValue.dump(OS, DumpOpts);
197 Die.getAttributeValueAsReferencedDie(FormValue).getName(
201 DWARFDie D = resolveReferencedType(Die, FormValue);
208 if (std::optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant())
214 if (FormValue.getForm() == DW_FORM_rnglistx)
216 U->getRnglistOffset(*FormValue.getAsSectionOffset())) {
349 if (auto FormValue = find(DW_AT_high_pc)) {
350 if (auto Address = FormValue->getAsAddress()) {
354 if (auto Offset = FormValue->getAsUnsignedConstant()) {
477 if (auto FormValue = findRecursively(DW_AT_decl_file))
478 if (auto OptString = FormValue->getAsFile(Kind))