/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 30 static const DWARFFormValue::FormClass DWARF5FormClasses[] = { 31 DWARFFormValue::FC_Unknown, // 0x0 32 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr 33 DWARFFormValue::FC_Unknown, // 0x02 unused 34 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2 35 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4 36 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data2 38 DWARFFormValue::FC_Constant, // 0x06 DW_FORM_data4 39 DWARFFormValue::FC_Constant, // 0x07 DW_FORM_data8 41 DWARFFormValue::FC_String, // 0x08 DW_FORM_string [all …]
|
D | DWARFDie.cpp | 84 static void dumpLocation(raw_ostream &OS, DWARFFormValue &FormValue, in dumpLocation() 90 if (FormValue.isFormClass(DWARFFormValue::FC_Block) || in dumpLocation() 91 FormValue.isFormClass(DWARFFormValue::FC_Exprloc)) { in dumpLocation() 101 if (FormValue.isFormClass(DWARFFormValue::FC_SectionOffset)) { in dumpLocation() 202 DWARFFormValue formValue(Form); in dumpAttribute() 265 Optional<DWARFFormValue> Value = Die.find(DW_AT_ranges); in dumpAttribute() 269 DWARFFormValue FV(dwarf::DW_FORM_sec_offset); in dumpAttribute() 291 Optional<DWARFFormValue> DWARFDie::find(dwarf::Attribute Attr) const { in find() 300 Optional<DWARFFormValue> 314 Optional<DWARFFormValue> [all …]
|
D | DWARFAcceleratorTable.cpp | 97 DWARFFormValue FormValue(Atom.second); in validateForms() 102 if ((!FormValue.isFormClass(DWARFFormValue::FC_Constant) && in validateForms() 103 !FormValue.isFormClass(DWARFFormValue::FC_Flag)) || in validateForms() 121 DWARFFormValue FormValue(Atom.second); in readAtoms() 148 Optional<DWARFFormValue> Value) const { in extractOffset() 165 SmallVectorImpl<DWARFFormValue> &AtomForms, in dumpName() 213 SmallVector<DWARFFormValue, 3> AtomForms; in dump() 221 AtomForms.push_back(DWARFFormValue(Atom.second)); in dump() 264 Values.push_back(DWARFFormValue(Atom.second)); in Entry() 276 Optional<DWARFFormValue> [all …]
|
D | DWARFAbbreviationDeclaration.cpp | 151 Optional<DWARFFormValue> DWARFAbbreviationDeclaration::getAttributeValue( in getAttributeValue() 167 DWARFFormValue FormValue(Spec.Form); in getAttributeValue() 179 DWARFFormValue::skipValue(Spec.Form, DebugInfoData, &Offset, in getAttributeValue()
|
D | CMakeLists.txt | 22 DWARFFormValue.cpp
|
D | DWARFDebugInfoEntry.cpp | 61 } else if (!DWARFFormValue::skipValue(AttrSpec.Form, DebugInfoData, in extractFast()
|
D | DWARFVerifier.cpp | 974 DWARFFormValue::FormClass Class; in verifyNameIndexAttribute() 978 {dwarf::DW_IDX_compile_unit, DWARFFormValue::FC_Constant, {"constant"}}, in verifyNameIndexAttribute() 979 {dwarf::DW_IDX_type_unit, DWARFFormValue::FC_Constant, {"constant"}}, in verifyNameIndexAttribute() 980 {dwarf::DW_IDX_die_offset, DWARFFormValue::FC_Reference, {"reference"}}, in verifyNameIndexAttribute() 981 {dwarf::DW_IDX_parent, DWARFFormValue::FC_Constant, {"constant"}}, in verifyNameIndexAttribute() 995 if (!DWARFFormValue(AttrEnc.Form).isFormClass(Iter->Class)) { in verifyNameIndexAttribute() 1151 Optional<DWARFFormValue> Location = Die.findRecursively(DW_AT_location); in isVariableIndexable()
|
D | DWARFDebugLine.cpp | 141 std::vector<DWARFFormValue> &IncludeDirectories, in parseV2DirFileTables() 147 DWARFFormValue Dir(dwarf::DW_FORM_string); in parseV2DirFileTables() 201 std::vector<DWARFFormValue> &IncludeDirectories, in parseV5DirFileTables() 215 DWARFFormValue Value(Descriptor.Form); in parseV5DirFileTables() 243 DWARFFormValue Value(Descriptor.Form); in parseV5DirFileTables()
|
/external/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFFormValueTest.cpp | 23 TEST(DWARFFormValue, FixedFormSizes) { in TEST() argument 26 ArrayRef<uint8_t> sizes = DWARFFormValue::getFixedFormSizes(4, 2); in TEST() 28 sizes = DWARFFormValue::getFixedFormSizes(8, 2); in TEST() 30 sizes = DWARFFormValue::getFixedFormSizes(8, 3); in TEST() 33 EXPECT_EQ(0U, DWARFFormValue::getFixedFormSizes(16, 2).size()); in TEST() 36 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { in isFormClass() 37 return DWARFFormValue(Form).isFormClass(FC); in isFormClass() 40 TEST(DWARFFormValue, FormClass) { in TEST() argument 41 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST() 42 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/ |
D | DWARFFormValueTest.cpp | 23 bool isFormClass(dwarf::Form Form, DWARFFormValue::FormClass FC) { in isFormClass() 24 return DWARFFormValue(Form).isFormClass(FC); in isFormClass() 27 TEST(DWARFFormValue, FormClass) { in TEST() argument 28 EXPECT_TRUE(isFormClass(DW_FORM_addr, DWARFFormValue::FC_Address)); in TEST() 29 EXPECT_FALSE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Address)); in TEST() 30 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_Constant)); in TEST() 31 EXPECT_TRUE(isFormClass(DW_FORM_data8, DWARFFormValue::FC_SectionOffset)); in TEST() 33 isFormClass(DW_FORM_sec_offset, DWARFFormValue::FC_SectionOffset)); in TEST() 34 EXPECT_TRUE(isFormClass(DW_FORM_GNU_str_index, DWARFFormValue::FC_String)); in TEST() 35 EXPECT_TRUE(isFormClass(DW_FORM_GNU_addr_index, DWARFFormValue::FC_Address)); in TEST() [all …]
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 66 ArrayRef<uint8_t> DWARFFormValue::getFixedFormSizes(uint8_t AddrSize, in getFixedFormSizes() 80 static const DWARFFormValue::FormClass DWARF4FormClasses[] = { 81 DWARFFormValue::FC_Unknown, // 0x0 82 DWARFFormValue::FC_Address, // 0x01 DW_FORM_addr 83 DWARFFormValue::FC_Unknown, // 0x02 unused 84 DWARFFormValue::FC_Block, // 0x03 DW_FORM_block2 85 DWARFFormValue::FC_Block, // 0x04 DW_FORM_block4 86 DWARFFormValue::FC_Constant, // 0x05 DW_FORM_data2 88 DWARFFormValue::FC_Constant, // 0x06 DW_FORM_data4 89 DWARFFormValue::FC_Constant, // 0x07 DW_FORM_data8 [all …]
|
D | DWARFDebugInfoEntry.cpp | 131 DWARFFormValue formValue(form); in dumpAttribute() 203 ArrayRef<uint8_t> FixedFormSizes = DWARFFormValue::getFixedFormSizes( in extractFast() 215 else if (!DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, U)) { in extractFast() 235 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { in getAttributeValue() 251 DWARFFormValue::skipValue(AbbrevDecl->getFormByIndex(i), in getAttributeValue() 255 FormValue = DWARFFormValue(AbbrevDecl->getFormByIndex(AttrIdx)); in getAttributeValue() 261 DWARFFormValue FormValue; in getAttributeValueAsString() 270 DWARFFormValue FormValue; in getAttributeValueAsAddress() 279 DWARFFormValue FormValue; in getAttributeValueAsUnsignedConstant() 288 DWARFFormValue FormValue; in getAttributeValueAsReference() [all …]
|
D | DWARFAcceleratorTable.cpp | 61 SmallVector<DWARFFormValue, 3> AtomForms; in dump() 74 AtomForms.push_back(DWARFFormValue(Atom.second)); in dump()
|
D | CMakeLists.txt | 15 DWARFFormValue.cpp
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 27 class DWARFFormValue { 60 DWARFFormValue(dwarf::Form F = dwarf::Form(0)) : Form(F) {} in Form() 120 return DWARFFormValue::skipValue(Form, DebugInfoData, OffsetPtr, Params); in skipValue() 148 inline Optional<const char *> toString(const Optional<DWARFFormValue> &V) { in toString() 160 inline const char *toString(const Optional<DWARFFormValue> &V, in toString() 170 inline Optional<uint64_t> toUnsigned(const Optional<DWARFFormValue> &V) { in toUnsigned() 182 inline uint64_t toUnsigned(const Optional<DWARFFormValue> &V, in toUnsigned() 192 inline Optional<uint64_t> toReference(const Optional<DWARFFormValue> &V) { in toReference() 204 inline uint64_t toReference(const Optional<DWARFFormValue> &V, in toReference() 214 inline Optional<int64_t> toSigned(const Optional<DWARFFormValue> &V) { in toSigned() [all …]
|
D | DWARFAttribute.h | 33 DWARFFormValue Value; 50 Value = DWARFFormValue(); in clear()
|
D | DWARFAcceleratorTable.h | 41 SmallVector<DWARFFormValue, 3> Values; 67 ArrayRef<DWARFFormValue> getValues() const { return Values; } in getValues() 103 Optional<uint64_t> extractOffset(Optional<DWARFFormValue> Value) const; 112 bool dumpName(ScopedPrinter &W, SmallVectorImpl<DWARFFormValue> &AtomForms, 138 Optional<DWARFFormValue> lookup(HeaderData::AtomType Atom) const; 314 Optional<DWARFFormValue> lookup(dwarf::Index Index) const;
|
D | DWARFAbbreviationDeclaration.h | 24 class DWARFFormValue; variable 134 Optional<DWARFFormValue> getAttributeValue(const uint32_t DIEOffset,
|
D | DWARFDebugLine.h | 37 DWARFFormValue Name; 42 DWARFFormValue Source; 96 std::vector<DWARFFormValue> IncludeDirectories;
|
D | DWARFDie.h | 142 Optional<DWARFFormValue> find(dwarf::Attribute Attr) const; 155 Optional<DWARFFormValue> find(ArrayRef<dwarf::Attribute> Attrs) const; 166 Optional<DWARFFormValue>
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
D | DwarfLinker.h | 335 const DWARFFormValue &Val, 343 const DWARFFormValue &Val, const DWARFUnit &U, 353 const DWARFFormValue &Val, 361 const DWARFFormValue &Val, unsigned AttrSize); 367 const DWARFFormValue &Val, 376 const DWARFFormValue &Val, unsigned AttrSize,
|
D | DwarfLinker.cpp | 124 const DWARFFormValue &RefValue, in resolveDIEReference() 127 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference() 522 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset, in getAttributeOffsets() 526 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, in getAttributeOffsets() 706 DWARFFormValue Val(AttrSpec.Form); in keepDIEAndDependencies() 708 if (!Val.isFormClass(DWARFFormValue::FC_Reference) || in keepDIEAndDependencies() 710 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset, in keepDIEAndDependencies() 924 DIE &Die, AttributeSpec AttrSpec, const DWARFFormValue &Val, in cloneStringAttribute() 945 unsigned AttrSize, const DWARFFormValue &Val, const DebugMapObject &DMO, in cloneDieReferenceAttribute() 1016 const DWARFFormValue &Val, in cloneBlockAttribute() [all …]
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 22 class DWARFFormValue { 55 DWARFFormValue(uint16_t Form = 0) : Form(Form) {} in Form()
|
D | DWARFDebugInfoEntry.h | 25 class DWARFFormValue; variable 90 DWARFFormValue &FormValue) const;
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 1322 CompileUnit &U, const DWARFFormValue &Val, 1330 const DWARFFormValue &Val, 1340 const DWARFFormValue &Val, CompileUnit &Unit); 1346 const DWARFFormValue &Val, unsigned AttrSize); 1352 const DWARFFormValue &Val, 1361 const DWARFFormValue &Val, unsigned AttrSize, 1486 const DWARFFormValue &RefValue, const DWARFUnit &Unit, in resolveDIEReference() 1488 assert(RefValue.isFormClass(DWARFFormValue::FC_Reference)); in resolveDIEReference() 2068 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset, &Unit); in getAttributeOffsets() 2071 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, &Unit); in getAttributeOffsets() [all …]
|