Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVELFReader.cpp250 const DWARFFormValue &FormValue = in processOneAttribute() local
265 switch (FormValue.getForm()) { in processOneAttribute()
273 return *FormValue.getAsReferenceUVal(); in processOneAttribute()
282 return *FormValue.getAsUnsignedConstant(); in processOneAttribute()
284 return *FormValue.getAsSignedConstant(); in processOneAttribute()
352 if (GetFlag(FormValue)) in processOneAttribute()
356 if (GetFlag(FormValue)) in processOneAttribute()
392 updateReference(AttrSpec.Attr, FormValue); in processOneAttribute()
404 uint64_t UValue = FormValue.getRawUValue(); in processOneAttribute()
406 CurrentLowPC = *FormValue.getAsAddress(); in processOneAttribute()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDie.cpp80 if (FormValue.getForm() == DW_FORM_loclistx) { in dumpLocationList()
81 FormValue.dump(OS, DumpOpts); in dumpLocationList()
99 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in dumpLocationExpr()
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()
187 FormValue.dump(OS, DumpOpts); in dumpAttribute()
214 if (FormValue.getForm() == DW_FORM_rnglistx) in dumpAttribute()
[all …]
H A DDWARFAbbreviationDeclaration.cpp199 DWARFFormValue FormValue(Spec.Form); in getAttributeValueFromOffset() local
201 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValueFromOffset()
202 return FormValue; in getAttributeValueFromOffset()
H A DDWARFAcceleratorTable.cpp109 DWARFFormValue FormValue(Atom.second); in validateForms() local
114 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms()
115 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms()
116 FormValue.getForm() == dwarf::DW_FORM_sdata) in validateForms()
132 DWARFFormValue FormValue(Atom.second); in readAtoms() local
133 FormValue.extractValue(AccelSection, HashDataOffset, FormParams); in readAtoms()
136 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms()
139 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
278 for (auto &FormValue : Values) in extract() local
284 for (auto [Atom, FormValue] : zip_equal(Table.HdrData.Atoms, Values)) in lookup()
[all …]
H A DDWARFFormValue.cpp104 DWARFFormValue FormValue(F); in createFromUnit() local
105 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit()
107 return FormValue; in createFromUnit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp198 void MappingTraits<DWARFYAML::FormValue>::mapping( in mapping()
199 IO &IO, DWARFYAML::FormValue &FormValue) { in mapping() argument
200 IO.mapOptional("Value", FormValue.Value); in mapping()
201 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping()
202 IO.mapOptional("CStr", FormValue.CStr); in mapping()
203 if (!FormValue.BlockData.empty() || !IO.outputting()) in mapping()
204 IO.mapOptional("BlockData", FormValue.BlockData); in mapping()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVELFReader.h113 const DWARFFormValue &FormValue,
116 const DWARFFormValue &FormValue, const DWARFDie &Die,
119 void updateReference(dwarf::Attribute Attr, const DWARFFormValue &FormValue);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h93 struct FormValue { struct
101 std::vector<FormValue> Values; argument
260 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::FormValue) in LLVM_YAML_IS_SEQUENCE_VECTOR()
331 template <> struct MappingTraits<DWARFYAML::FormValue> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
332 static void mapping(IO &IO, DWARFYAML::FormValue &FormValue); in LLVM_YAML_IS_SEQUENCE_VECTOR()