/external/llvm-project/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDie.cpp | 72 static void dumpLocation(raw_ostream &OS, 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() 247 DWARFFormValue FormValue = DWARFFormValue::createFromUnit(Form, U, OffsetPtr); in dumpAttribute() local [all …]
|
D | DWARFAbbreviationDeclaration.cpp | 178 DWARFFormValue FormValue(Spec.Form); in getAttributeValue() local 179 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValue() 180 return FormValue; in getAttributeValue()
|
D | DWARFAcceleratorTable.cpp | 97 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()
|
D | DWARFFormValue.cpp | 102 DWARFFormValue FormValue(F); in createFromUnit() local 103 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit() 105 return FormValue; in createFromUnit()
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugInfoEntry.cpp | 235 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { in getAttributeValue() 255 FormValue = DWARFFormValue(AbbrevDecl->getFormByIndex(AttrIdx)); in getAttributeValue() 256 return FormValue.extractValue(DebugInfoData, &DebugInfoOffset, U); in getAttributeValue() 261 DWARFFormValue FormValue; in getAttributeValueAsString() local 262 if (!getAttributeValue(U, Attr, FormValue)) in getAttributeValueAsString() 264 Optional<const char *> Result = FormValue.getAsCString(U); in getAttributeValueAsString() 270 DWARFFormValue FormValue; in getAttributeValueAsAddress() local 271 if (!getAttributeValue(U, Attr, FormValue)) in getAttributeValueAsAddress() 273 Optional<uint64_t> Result = FormValue.getAsAddress(U); in getAttributeValueAsAddress() 279 DWARFFormValue FormValue; in getAttributeValueAsUnsignedConstant() local [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDie.cpp | 72 static void dumpLocation(raw_ostream &OS, 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 DWARFFormValue FormValue = DWARFFormValue::createFromUnit(Form, U, OffsetPtr); in dumpAttribute() local [all …]
|
D | DWARFAbbreviationDeclaration.cpp | 170 DWARFFormValue FormValue(Spec.Form); in getAttributeValue() local 171 if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U)) in getAttributeValue() 172 return FormValue; in getAttributeValue()
|
D | DWARFAcceleratorTable.cpp | 97 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()
|
D | DWARFFormValue.cpp | 102 DWARFFormValue FormValue(F); in createFromUnit() local 103 FormValue.extractValue(U->getDebugInfoExtractor(), OffsetPtr, in createFromUnit() 105 return FormValue; in createFromUnit()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | DWARFYAML.cpp | 113 void MappingTraits<DWARFYAML::FormValue>::mapping( in mapping() 114 IO &IO, DWARFYAML::FormValue &FormValue) { in mapping() argument 115 IO.mapOptional("Value", FormValue.Value); in mapping() 116 if (!FormValue.CStr.empty() || !IO.outputting()) in mapping() 117 IO.mapOptional("CStr", FormValue.CStr); in mapping() 118 if (!FormValue.BlockData.empty() || !IO.outputting()) in mapping() 119 IO.mapOptional("BlockData", FormValue.BlockData); in mapping()
|
D | DWARFVisitor.h | 25 struct FormValue; 42 virtual void onForm(AttributeAbbrev &AttAbbrev, FormValue &Value) {} in onForm() 52 const FormValue &Value) {} in onForm()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | dwarf2yaml.cpp | 243 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 …]
|
/external/llvm-project/llvm/lib/ObjectYAML/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
D | DWARFYAML.h | 89 struct FormValue { struct 97 std::vector<FormValue> Values; argument 170 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::FormValue) in LLVM_YAML_IS_SEQUENCE_VECTOR() 215 template <> struct MappingTraits<DWARFYAML::FormValue> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 216 static void mapping(IO &IO, DWARFYAML::FormValue &FormValue); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFDebugInfoTest.cpp | 246 Optional<DWARFFormValue> FormValue; in TestAllForms() local 250 FormValue = DieDG.find(Attr_DW_FORM_block); in TestAllForms() 251 EXPECT_TRUE((bool)FormValue); in TestAllForms() 252 BlockDataOpt = FormValue->getAsBlock(); in TestAllForms() 258 FormValue = DieDG.find(Attr_DW_FORM_block1); in TestAllForms() 259 EXPECT_TRUE((bool)FormValue); in TestAllForms() 260 BlockDataOpt = FormValue->getAsBlock(); in TestAllForms() 266 FormValue = DieDG.find(Attr_DW_FORM_block2); in TestAllForms() 267 EXPECT_TRUE((bool)FormValue); in TestAllForms() 268 BlockDataOpt = FormValue->getAsBlock(); in TestAllForms() [all …]
|
/external/llvm-project/llvm/include/llvm/ObjectYAML/ |
D | DWARFYAML.h | 92 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()
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDebugInfoEntry.h | 90 DWARFFormValue &FormValue) const;
|