Searched refs:FormValue (Results 1 – 9 of 9) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Readers/ |
| H A D | LVELFReader.cpp | 250 const DWARFFormValue &FormValue = in processOneAttribute() local 257 : *FormValue.getAsUnsignedConstant(); in processOneAttribute() 260 auto GetFlag = [](const DWARFFormValue &FormValue) -> bool { in processOneAttribute() argument 261 return FormValue.isFormClass(DWARFFormValue::FC_Flag); in processOneAttribute() 264 auto GetBoundValue = [](const DWARFFormValue &FormValue) -> int64_t { in processOneAttribute() argument 265 switch (FormValue.getForm()) { in processOneAttribute() 273 return *FormValue.getAsReferenceUVal(); in processOneAttribute() 282 return *FormValue.getAsUnsignedConstant(); in processOneAttribute() 284 return *FormValue.getAsSignedConstant(); in processOneAttribute() 297 CurrentElement->setAccessibilityCode(*FormValue.getAsUnsignedConstant()); in processOneAttribute() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDie.cpp | 71 static void dumpLocationList(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationList() argument 74 assert(FormValue.isFormClass(DWARFFormValue::FC_SectionOffset) && in dumpLocationList() 77 uint64_t Offset = *FormValue.getAsSectionOffset(); in dumpLocationList() 79 if (FormValue.getForm() == DW_FORM_loclistx) { in dumpLocationList() 80 FormValue.dump(OS, DumpOpts); in dumpLocationList() 91 static void dumpLocationExpr(raw_ostream &OS, const DWARFFormValue &FormValue, in dumpLocationExpr() argument 94 assert((FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocationExpr() 95 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) && in dumpLocationExpr() 98 ArrayRef<uint8_t> Expr = *FormValue.getAsBlock(); in dumpLocationExpr() 125 const DWARFFormValue &FormValue = AttrValue.Value; in dumpAttribute() local [all …]
|
| H A D | DWARFAbbreviationDeclaration.cpp | 177 DWARFFormValue FormValue(Spec.Form); in getAttributeValueFromOffset() local 179 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValueFromOffset() 180 return FormValue; in getAttributeValueFromOffset()
|
| H A D | DWARFAcceleratorTable.cpp | 96 DWARFFormValue FormValue(Atom.second); in validateForms() local 101 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms() 102 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms() 103 FormValue.getForm() == dwarf::DW_FORM_sdata) in validateForms() 120 DWARFFormValue FormValue(Atom.second); in readAtoms() local 121 FormValue.extractValue(AccelSection, HashDataOffset, FormParams); in readAtoms() 124 DieOffset = *FormValue.getAsUnsignedConstant(); in readAtoms() 127 DieTag = (dwarf::Tag)*FormValue.getAsUnsignedConstant(); in readAtoms()
|
| H A D | DWARFFormValue.cpp | 104 DWARFFormValue FormValue(F); in createFromUnit() local 105 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit() 107 return FormValue; in createFromUnit()
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | dwarf2yaml.cpp | 245 DWARFYAML::FormValue NewValue; in dumpDebugInfo() 248 auto FormValue = DIEWrapper.find(AttrSpec.Attr); in dumpDebugInfo() local 249 if (!FormValue) in dumpDebugInfo() 251 auto Form = FormValue->getForm(); in dumpDebugInfo() 258 if (auto Val = FormValue->getAsAddress()) in dumpDebugInfo() 268 if (auto Val = FormValue->getAsReferenceUVal()) in dumpDebugInfo() 276 if (auto Val = FormValue->getAsBlock()) { in dumpDebugInfo() 292 if (auto Val = FormValue->getAsUnsignedConstant()) in dumpDebugInfo() 296 if (auto Val = dwarf::toString(FormValue)) in dumpDebugInfo() 301 if (auto Val = FormValue->getAsUnsignedConstant()) { in dumpDebugInfo() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | DWARFYAML.cpp | 200 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
| H A D | LVELFReader.h | 108 const DWARFFormValue &FormValue, 111 const DWARFFormValue &FormValue, const DWARFDie &Die, 114 void updateReference(dwarf::Attribute Attr, const DWARFFormValue &FormValue);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | DWARFYAML.h | 93 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()
|