Lines Matching refs:FormValue

73 static void dumpLocationList(raw_ostream &OS, const DWARFFormValue &FormValue,  in dumpLocationList()  argument
76 assert(FormValue.isFormClass(DWARFFormValue::FC_SectionOffset) && in dumpLocationList()
80 uint64_t Offset = *FormValue.getAsSectionOffset(); in dumpLocationList()
82 if (FormValue.getForm() == DW_FORM_loclistx) { in dumpLocationList()
83 FormValue.dump(OS, DumpOpts); in dumpLocationList()
95 static void dumpLocationExpr(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationExpr() argument
98 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr()
99 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) && in dumpLocationExpr()
103 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in dumpLocationExpr()
130 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute() local
140 if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) { in dumpAttribute()
150 } else if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
156 if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
159 FormValue.dump(OS, DumpOpts); in dumpAttribute()
161 (FormValue.getAsAddress() == in dumpAttribute()
164 FormValue.dump(OS, DumpOpts); in dumpAttribute()
171 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
178 FormValue.dump(OS, DumpOpts); in dumpAttribute()
181 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) in dumpAttribute()
182 dumpLocationList(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4, in dumpAttribute()
184 else if (FormValue.isFormClass(DWARFFormValue::FC_Exprloc) || in dumpAttribute()
186 FormValue.isFormClass(DWARFFormValue::FC_Block))) in dumpAttribute()
187 dumpLocationExpr(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4, in dumpAttribute()
190 FormValue.dump(OS, DumpOpts); in dumpAttribute()
199 Die.getAttributeValueAsReferencedDie(FormValue).getName( in dumpAttribute()
203 DWARFDie D = resolveReferencedType(Die, FormValue); in dumpAttribute()
210 if (Optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
216 if (FormValue.getForm() == DW_FORM_rnglistx) in dumpAttribute()
218 U->getRnglistOffset(*FormValue.getAsSectionOffset())) { in dumpAttribute()
352 if (auto FormValue = find(DW_AT_high_pc)) { in getHighPC() local
353 if (auto Address = FormValue->getAsAddress()) { in getHighPC()
357 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()
480 if (auto FormValue = findRecursively(DW_AT_decl_file)) in getDeclFile() local
481 if (auto OptString = FormValue->getAsFile(Kind)) in getDeclFile()