/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCTargetDesc.cpp | 20 #include "llvm/DebugInfo/CodeView/CodeView.h" 64 // Mapping from CodeView to MC register id. in initLLVMToCVRegMapping() 66 codeview::RegisterId CVReg; in initLLVMToCVRegMapping() 69 {codeview::RegisterId::ARM64_W0, AArch64::W0}, in initLLVMToCVRegMapping() 70 {codeview::RegisterId::ARM64_W1, AArch64::W1}, in initLLVMToCVRegMapping() 71 {codeview::RegisterId::ARM64_W2, AArch64::W2}, in initLLVMToCVRegMapping() 72 {codeview::RegisterId::ARM64_W3, AArch64::W3}, in initLLVMToCVRegMapping() 73 {codeview::RegisterId::ARM64_W4, AArch64::W4}, in initLLVMToCVRegMapping() 74 {codeview::RegisterId::ARM64_W5, AArch64::W5}, in initLLVMToCVRegMapping() 75 {codeview::RegisterId::ARM64_W6, AArch64::W6}, in initLLVMToCVRegMapping() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MCTargetDesc.cpp | 20 #include "llvm/DebugInfo/CodeView/CodeView.h" 60 // Mapping from CodeView to MC register id. in initLLVMToCVRegMapping() 62 codeview::RegisterId CVReg; in initLLVMToCVRegMapping() 65 {codeview::RegisterId::ARM64_W0, AArch64::W0}, in initLLVMToCVRegMapping() 66 {codeview::RegisterId::ARM64_W1, AArch64::W1}, in initLLVMToCVRegMapping() 67 {codeview::RegisterId::ARM64_W2, AArch64::W2}, in initLLVMToCVRegMapping() 68 {codeview::RegisterId::ARM64_W3, AArch64::W3}, in initLLVMToCVRegMapping() 69 {codeview::RegisterId::ARM64_W4, AArch64::W4}, in initLLVMToCVRegMapping() 70 {codeview::RegisterId::ARM64_W5, AArch64::W5}, in initLLVMToCVRegMapping() 71 {codeview::RegisterId::ARM64_W6, AArch64::W6}, in initLLVMToCVRegMapping() [all …]
|
/external/llvm-project/llvm/test/DebugInfo/COFF/ |
D | vframe-fpo.ll | 2 ; RUN: llc < %s -filetype=obj | llvm-readobj --codeview - | FileCheck %s --check-prefix=CODEVIEW 62 ; CODEVIEW: CodeViewDebugInfo [ 63 ; CODEVIEW-NEXT: Section: .debug$S (4) 64 ; CODEVIEW-NEXT: Magic: 0x4 65 ; CODEVIEW-NEXT: Subsection [ 66 ; CODEVIEW-NEXT: SubSectionType: Symbols (0xF1) 67 ; CODEVIEW-NEXT: SubSectionSize: 68 ; CODEVIEW-NEXT: Compile3Sym { 69 ; CODEVIEW-NEXT: Kind: S_COMPILE3 (0x113C) 70 ; CODEVIEW: } [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 21 #include "llvm/DebugInfo/CodeView/CodeView.h" 84 // Mapping from CodeView to MC register id. in initLLVMToSEHAndCVRegMapping() 86 codeview::RegisterId CVReg; in initLLVMToSEHAndCVRegMapping() 89 {codeview::RegisterId::AL, X86::AL}, in initLLVMToSEHAndCVRegMapping() 90 {codeview::RegisterId::CL, X86::CL}, in initLLVMToSEHAndCVRegMapping() 91 {codeview::RegisterId::DL, X86::DL}, in initLLVMToSEHAndCVRegMapping() 92 {codeview::RegisterId::BL, X86::BL}, in initLLVMToSEHAndCVRegMapping() 93 {codeview::RegisterId::AH, X86::AH}, in initLLVMToSEHAndCVRegMapping() 94 {codeview::RegisterId::CH, X86::CH}, in initLLVMToSEHAndCVRegMapping() 95 {codeview::RegisterId::DH, X86::DH}, in initLLVMToSEHAndCVRegMapping() [all …]
|
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86MCTargetDesc.cpp | 21 #include "llvm/DebugInfo/CodeView/CodeView.h" 82 // Mapping from CodeView to MC register id. in initLLVMToSEHAndCVRegMapping() 84 codeview::RegisterId CVReg; in initLLVMToSEHAndCVRegMapping() 87 {codeview::RegisterId::AL, X86::AL}, in initLLVMToSEHAndCVRegMapping() 88 {codeview::RegisterId::CL, X86::CL}, in initLLVMToSEHAndCVRegMapping() 89 {codeview::RegisterId::DL, X86::DL}, in initLLVMToSEHAndCVRegMapping() 90 {codeview::RegisterId::BL, X86::BL}, in initLLVMToSEHAndCVRegMapping() 91 {codeview::RegisterId::AH, X86::AH}, in initLLVMToSEHAndCVRegMapping() 92 {codeview::RegisterId::CH, X86::CH}, in initLLVMToSEHAndCVRegMapping() 93 {codeview::RegisterId::DH, X86::DH}, in initLLVMToSEHAndCVRegMapping() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMCTargetDesc.cpp | 20 #include "llvm/DebugInfo/CodeView/CodeView.h" 222 // Mapping from CodeView to MC register id. in initLLVMToCVRegMapping() 224 codeview::RegisterId CVReg; in initLLVMToCVRegMapping() 227 {codeview::RegisterId::ARM_R0, ARM::R0}, in initLLVMToCVRegMapping() 228 {codeview::RegisterId::ARM_R1, ARM::R1}, in initLLVMToCVRegMapping() 229 {codeview::RegisterId::ARM_R2, ARM::R2}, in initLLVMToCVRegMapping() 230 {codeview::RegisterId::ARM_R3, ARM::R3}, in initLLVMToCVRegMapping() 231 {codeview::RegisterId::ARM_R4, ARM::R4}, in initLLVMToCVRegMapping() 232 {codeview::RegisterId::ARM_R5, ARM::R5}, in initLLVMToCVRegMapping() 233 {codeview::RegisterId::ARM_R6, ARM::R6}, in initLLVMToCVRegMapping() [all …]
|
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
D | PdbUtil.h | 17 #include "llvm/DebugInfo/CodeView/CodeView.h" 18 #include "llvm/DebugInfo/CodeView/SymbolRecord.h" 19 #include "llvm/DebugInfo/CodeView/TypeRecord.h" 41 static CVTagRecord create(llvm::codeview::CVType type); 45 const llvm::codeview::TagRecord &asTag() const { in asTag() 53 const llvm::codeview::ClassRecord &asClass() const { in asClass() 58 const llvm::codeview::EnumRecord &asEnum() const { in asEnum() 63 const llvm::codeview::UnionRecord &asUnion() const { in asUnion() 77 CVTagRecord(llvm::codeview::ClassRecord &&c); 78 CVTagRecord(llvm::codeview::UnionRecord &&u); [all …]
|
D | UdtRecordCompleter.h | 13 #include "llvm/DebugInfo/CodeView/CVRecord.h" 14 #include "llvm/DebugInfo/CodeView/TypeRecord.h" 15 #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h" 39 class UdtRecordCompleter : public llvm::codeview::TypeVisitorCallbacks { 45 llvm::codeview::UnionRecord ur; 46 llvm::codeview::ClassRecord cr; 47 llvm::codeview::EnumRecord er; 64 llvm::Error visitKnownMember(llvm::codeview::CVMemberRecord &CVR, \ 65 llvm::codeview::Name##Record &Record) override; 67 #include "llvm/DebugInfo/CodeView/CodeViewTypes.def" [all …]
|
/external/llvm/lib/DebugInfo/PDB/ |
D | PDBExtras.cpp | 94 const codeview::RegisterId &Reg) { in operator <<() 96 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, AL, OS) in operator <<() 97 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, CL, OS) in operator <<() 98 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, DL, OS) in operator <<() 99 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, BL, OS) in operator <<() 100 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, AH, OS) in operator <<() 101 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, CH, OS) in operator <<() 102 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, DH, OS) in operator <<() 103 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, BH, OS) in operator <<() 104 CASE_OUTPUT_ENUM_CLASS_NAME(codeview::RegisterId, AX, OS) in operator <<() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/ |
D | SymbolCache.cpp | 3 #include "llvm/DebugInfo/CodeView/SymbolDeserializer.h" 4 #include "llvm/DebugInfo/CodeView/TypeDeserializer.h" 5 #include "llvm/DebugInfo/CodeView/TypeRecordHelpers.h" 29 using namespace llvm::codeview; 32 // Maps codeview::SimpleTypeKind of a built-in type to the parameters necessary 35 codeview::SimpleTypeKind Kind; 39 {codeview::SimpleTypeKind::None, PDB_BuiltinType::None, 0}, 40 {codeview::SimpleTypeKind::Void, PDB_BuiltinType::Void, 0}, 41 {codeview::SimpleTypeKind::HResult, PDB_BuiltinType::HResult, 4}, 42 {codeview::SimpleTypeKind::Int16Short, PDB_BuiltinType::Int, 2}, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.h | 9 // This file contains support for writing Microsoft CodeView debug info. 25 #include "llvm/DebugInfo/CodeView/CodeView.h" 26 #include "llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h" 27 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 51 /// Collects and handles line tables information in a CodeView format. 55 codeview::GlobalTypeTableBuilder TypeTable; 60 /// The codeview CPU type used by the translation unit. 61 codeview::CPUType TheCPU; 173 codeview::EncodedFramePtrReg EncodedLocalFramePtrReg = 174 codeview::EncodedFramePtrReg::None; [all …]
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.h | 9 // This file contains support for writing Microsoft CodeView debug info. 25 #include "llvm/DebugInfo/CodeView/CodeView.h" 26 #include "llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h" 27 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 51 /// Collects and handles line tables information in a CodeView format. 55 codeview::GlobalTypeTableBuilder TypeTable; 60 /// The codeview CPU type used by the translation unit. 61 codeview::CPUType TheCPU; 173 codeview::EncodedFramePtrReg EncodedLocalFramePtrReg = 174 codeview::EncodedFramePtrReg::None; [all …]
|
/external/llvm-project/llvm/tools/llvm-pdbutil/ |
D | MinimalSymbolDumper.h | 12 #include "llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h" 15 namespace codeview { 23 class MinimalSymbolDumper : public codeview::SymbolVisitorCallbacks { 26 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper() 27 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() 31 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper() 32 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper() 36 Error visitSymbolBegin(codeview::CVSymbol &Record) override; 37 Error visitSymbolBegin(codeview::CVSymbol &Record, uint32_t Offset) override; 38 Error visitSymbolEnd(codeview::CVSymbol &Record) override; [all …]
|
D | MinimalTypeDumper.h | 12 #include "llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h" 16 namespace codeview { 25 class MinimalTypeDumpVisitor : public codeview::TypeVisitorCallbacks { 28 bool Hashes, codeview::LazyRandomTypeCollection &Types, in MinimalTypeDumpVisitor() 37 Error visitTypeBegin(codeview::CVType &Record, 38 codeview::TypeIndex Index) override; 39 Error visitTypeEnd(codeview::CVType &Record) override; 40 Error visitMemberBegin(codeview::CVMemberRecord &Record) override; 41 Error visitMemberEnd(codeview::CVMemberRecord &Record) override; 44 Error visitKnownRecord(codeview::CVType &CVR, \ [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | CodeViewDebug.h | 10 // This file contains support for writing Microsoft CodeView debug info. 23 #include "llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h" 24 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 36 /// \brief Collects and handles line tables information in a CodeView format. 39 codeview::MemoryTypeTableBuilder TypeTable; 124 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP); 141 /// be nullptr, to CodeView type indices. Primarily indexed by 146 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex> 151 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices; 160 codeview::TypeIndex VBPType; [all …]
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | DbiStream.h | 13 #include "llvm/DebugInfo/CodeView/ModuleSubstream.h" 14 #include "llvm/DebugInfo/CodeView/StreamArray.h" 15 #include "llvm/DebugInfo/CodeView/StreamRef.h" 99 codeview::FixedStreamArray<object::coff_section> getSectionHeaders(); 101 codeview::FixedStreamArray<object::FpoData> getFpoRecords(); 103 codeview::FixedStreamArray<SecMapEntry> getSectionMap() const; 121 codeview::StreamRef ModInfoSubstream; 122 codeview::StreamRef SecContrSubstream; 123 codeview::StreamRef SecMapSubstream; 124 codeview::StreamRef FileInfoSubstream; [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | SymbolCache.h | 14 #include "llvm/DebugInfo/CodeView/Line.h" 15 #include "llvm/DebugInfo/CodeView/SymbolRecord.h" 16 #include "llvm/DebugInfo/CodeView/TypeDeserializer.h" 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 18 #include "llvm/DebugInfo/CodeView/TypeRecord.h" 44 mutable DenseMap<codeview::TypeIndex, SymIndexId> TypeIndexToSymbolId; 49 mutable DenseMap<std::pair<codeview::TypeIndex, uint32_t>, SymIndexId> 77 codeview::LineInfo Line; 93 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType() 97 codeview::TypeDeserializer::deserializeAs<CVRecordT>(CVT, Record)) { in createSymbolForType() [all …]
|
D | TpiStream.h | 12 #include "llvm/DebugInfo/CodeView/CVRecord.h" 24 namespace codeview { 52 FixedStreamArray<codeview::TypeIndexOffset> getTypeIndexOffsets() const; 55 codeview::CVTypeRange types(bool *HadError) const; 56 const codeview::CVTypeArray &typeArray() const { return TypeRecords; } in typeArray() 58 codeview::LazyRandomTypeCollection &typeCollection() { return *Types; } in typeCollection() 60 Expected<codeview::TypeIndex> 61 findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const; 63 std::vector<codeview::TypeIndex> findRecordsByName(StringRef Name) const; 65 codeview::CVType getType(codeview::TypeIndex Index); [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/ |
D | TpiStream.h | 12 #include "llvm/DebugInfo/CodeView/TypeRecord.h" 24 namespace codeview { 52 FixedStreamArray<codeview::TypeIndexOffset> getTypeIndexOffsets() const; 55 codeview::CVTypeRange types(bool *HadError) const; 56 const codeview::CVTypeArray &typeArray() const { return TypeRecords; } in typeArray() 58 codeview::LazyRandomTypeCollection &typeCollection() { return *Types; } in typeCollection() 60 Expected<codeview::TypeIndex> 61 findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const; 63 std::vector<codeview::TypeIndex> findRecordsByName(StringRef Name) const; 65 codeview::CVType getType(codeview::TypeIndex Index); [all …]
|
D | SymbolCache.h | 13 #include "llvm/DebugInfo/CodeView/TypeDeserializer.h" 14 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 15 #include "llvm/DebugInfo/CodeView/TypeRecord.h" 40 DenseMap<codeview::TypeIndex, SymIndexId> TypeIndexToSymbolId; 45 DenseMap<std::pair<codeview::TypeIndex, uint32_t>, SymIndexId> 62 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType() 66 codeview::TypeDeserializer::deserializeAs<CVRecordT>(CVT, Record)) { in createSymbolForType() 75 SymIndexId createSymbolForModifiedType(codeview::TypeIndex ModifierTI, 76 codeview::CVType CVT); 78 SymIndexId createSimpleType(codeview::TypeIndex TI, [all …]
|
/external/llvm-project/llvm/include/llvm/ObjectYAML/ |
D | CodeViewYAMLDebugSections.h | 1 //=- CodeViewYAMLDebugSections.h - CodeView YAMLIO debug sections -*- C++ -*-=// 9 // This file defines classes for handling the YAML representation of CodeView 19 #include "llvm/DebugInfo/CodeView/CodeView.h" 20 #include "llvm/DebugInfo/CodeView/DebugSubsection.h" 21 #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" 30 namespace codeview { 35 } // end namespace codeview 86 codeview::FileChecksumKind Kind; 93 codeview::LineFlags Flags; 112 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC, [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/ |
D | CodeViewYAMLDebugSections.h | 1 //=- CodeViewYAMLDebugSections.h - CodeView YAMLIO debug sections -*- C++ -*-=// 9 // This file defines classes for handling the YAML representation of CodeView 19 #include "llvm/DebugInfo/CodeView/CodeView.h" 20 #include "llvm/DebugInfo/CodeView/DebugSubsection.h" 21 #include "llvm/DebugInfo/CodeView/DebugSubsectionRecord.h" 30 namespace codeview { 35 } // end namespace codeview 86 codeview::FileChecksumKind Kind; 93 codeview::LineFlags Flags; 112 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC, [all …]
|
/external/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeHashing.h | 15 #include "llvm/DebugInfo/CodeView/CodeView.h" 16 #include "llvm/DebugInfo/CodeView/TypeCollection.h" 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 24 namespace codeview { 178 } // namespace codeview 180 template <> struct DenseMapInfo<codeview::LocallyHashedType> { 181 static codeview::LocallyHashedType Empty; 182 static codeview::LocallyHashedType Tombstone; 184 static codeview::LocallyHashedType getEmptyKey() { return Empty; } 186 static codeview::LocallyHashedType getTombstoneKey() { return Tombstone; } [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/ |
D | TypeHashing.h | 15 #include "llvm/DebugInfo/CodeView/CodeView.h" 16 #include "llvm/DebugInfo/CodeView/TypeCollection.h" 17 #include "llvm/DebugInfo/CodeView/TypeIndex.h" 24 namespace codeview { 173 } // namespace codeview 175 template <> struct DenseMapInfo<codeview::LocallyHashedType> { 176 static codeview::LocallyHashedType Empty; 177 static codeview::LocallyHashedType Tombstone; 179 static codeview::LocallyHashedType getEmptyKey() { return Empty; } 181 static codeview::LocallyHashedType getTombstoneKey() { return Tombstone; } [all …]
|
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | SymbolCache.cpp | 3 #include "llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h" 4 #include "llvm/DebugInfo/CodeView/DebugLinesSubsection.h" 5 #include "llvm/DebugInfo/CodeView/SymbolDeserializer.h" 6 #include "llvm/DebugInfo/CodeView/TypeDeserializer.h" 7 #include "llvm/DebugInfo/CodeView/TypeRecordHelpers.h" 38 using namespace llvm::codeview; 41 // Maps codeview::SimpleTypeKind of a built-in type to the parameters necessary 44 codeview::SimpleTypeKind Kind; 48 {codeview::SimpleTypeKind::None, PDB_BuiltinType::None, 0}, 49 {codeview::SimpleTypeKind::Void, PDB_BuiltinType::Void, 0}, [all …]
|