Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp72 static void dumpLocation(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocation() argument
77 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocation()
78 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) { in dumpLocation()
79 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in dumpLocation()
87 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in dumpLocation()
88 uint64_t Offset = *FormValue.getAsSectionOffset(); in dumpLocation()
90 if (FormValue.getForm() == DW_FORM_loclistx) { in dumpLocation()
91 FormValue.dump(OS, DumpOpts); in dumpLocation()
104 FormValue.dump(OS, DumpOpts); in dumpLocation()
248 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute() local
[all …]
H A 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()
H A 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()
H A DDWARFFormValue.cpp102 DWARFFormValue FormValue(F); in createFromUnit() local
103 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit()
105 return FormValue; in createFromUnit()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp243 DWARFYAML::FormValue NewValue; in dumpDebugInfo()
246 auto FormValue = DIEWrapper.find(AttrSpec.Attr); in dumpDebugInfo() local
247 if (!FormValue) in dumpDebugInfo()
249 auto Form = FormValue.getValue().getForm(); in dumpDebugInfo()
256 if (auto Val = FormValue.getValue().getAsAddress()) in dumpDebugInfo()
266 if (auto Val = FormValue.getValue().getAsReferenceUVal()) in dumpDebugInfo()
274 if (auto Val = FormValue.getValue().getAsBlock()) { in dumpDebugInfo()
290 if (auto Val = FormValue.getValue().getAsUnsignedConstant()) in dumpDebugInfo()
294 if (auto Val = FormValue.getValue().getAsCString()) in dumpDebugInfo()
299 if (auto Val = FormValue.getValue().getAsUnsignedConstant()) { in dumpDebugInfo()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A 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()