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