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()
79 uint64_t Offset = *FormValue.getAsSectionOffset(); in dumpLocationList()
81 if (FormValue.getForm() == DW_FORM_loclistx) { in dumpLocationList()
82 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()
252 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute() local
263 FormValue.getAsUnsignedConstant().getValue(), in dumpAttribute()
269 } else if (Optional<uint64_t> Val = FormValue.getAsUnsignedConstant()) in dumpAttribute()
275 OS << *FormValue.getAsUnsignedConstant(); in dumpAttribute()
277 (FormValue.getAsAddress() == in dumpAttribute()
280 FormValue.dump(OS, DumpOpts); in dumpAttribute()
287 FormValue.getAsUnsignedConstant()) { in dumpAttribute()
294 FormValue.dump(OS, DumpOpts); in dumpAttribute()
297 FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) in dumpAttribute()
298 dumpLocationList(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4, in dumpAttribute()
300 else if (FormValue.isFormClass(DWARFFormValue::FC_Exprloc) || in dumpAttribute()
302 FormValue.isFormClass(DWARFFormValue::FC_Block))) in dumpAttribute()
303 dumpLocationExpr(OS, FormValue, U, sizeof(BaseIndent) + Indent + 4, in dumpAttribute()
306 FormValue.dump(OS, DumpOpts); in dumpAttribute()
315 Die.getAttributeValueAsReferencedDie(FormValue).getName( in dumpAttribute()
320 dumpTypeName(OS, Die.getAttributeValueAsReferencedDie(FormValue)); in dumpAttribute()
323 if (Optional<uint64_t> OptVal = FormValue.getAsUnsignedConstant()) in dumpAttribute()
329 if (FormValue.getForm() == DW_FORM_rnglistx) in dumpAttribute()
331 U->getRnglistOffset(*FormValue.getAsSectionOffset())) { in dumpAttribute()
441 if (auto FormValue = find(DW_AT_high_pc)) { in getHighPC() local
442 if (auto Address = FormValue->getAsAddress()) { in getHighPC()
446 if (auto Offset = FormValue->getAsUnsignedConstant()) { in getHighPC()