Home
last modified time | relevance | path

Searched refs:FormValue (Results 1 – 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp72 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
[all …]
DDWARFAbbreviationDeclaration.cpp178 DWARFFormValue FormValue(Spec.Form); in getAttributeValue() local
179 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValue()
180 return FormValue; in getAttributeValue()
DDWARFAcceleratorTable.cpp97 DWARFFormValue FormValue(Atom.second); in validateForms() local
102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms()
103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
104 FormValue.getForm() == dwarf::DW_FORM_sdata) in validateForms()
121 DWARFFormValue FormValue(Atom.second); in readAtoms() local
122 FormValue.extractValue(AccelSection, HashDataOffset, FormParams); in readAtoms()
125 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms()
128 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
DDWARFFormValue.cpp102 DWARFFormValue FormValue(F); in createFromUnit() local
103 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit()
105 return FormValue; in createFromUnit()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
DDWARFYAML.cpp200 void MappingTraits<DWARFYAML::FormValue>::mapping( in mapping()
201 IO &IO, DWARFYAML::FormValue &FormValue) { in mapping() argument
202 IO.mapOptional("Value", FormValue.Value); in mapping()
203 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping()
204 IO.mapOptional("CStr", FormValue.CStr); in mapping()
205 if (!FormValue.BlockData.empty() || !IO.outputting()) in mapping()
206 IO.mapOptional("BlockData", FormValue.BlockData); in mapping()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h92 struct FormValue { struct
100 std::vector<FormValue> Values; argument
259 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::FormValue) in LLVM_YAML_IS_SEQUENCE_VECTOR()
330 template <> struct MappingTraits<DWARFYAML::FormValue> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
331 static void mapping(IO &IO, DWARFYAML::FormValue &FormValue); in LLVM_YAML_IS_SEQUENCE_VECTOR()