Home
last modified time | relevance | path

Searched refs:codeview (Results 1 – 25 of 257) sorted by relevance

1234567891011

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp66 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()
76 {codeview::RegisterId::ARM64_W7, AArch64::W7}, in initLLVMToCVRegMapping()
77 {codeview::RegisterId::ARM64_W8, AArch64::W8}, in initLLVMToCVRegMapping()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86MCTargetDesc.cpp84 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()
94 {codeview::RegisterId::BH, X86::BH}, in initLLVMToSEHAndCVRegMapping()
95 {codeview::RegisterId::AX, X86::AX}, in initLLVMToSEHAndCVRegMapping()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCTargetDesc.cpp238 codeview::RegisterId CVReg; in initLLVMToCVRegMapping()
241 {codeview::RegisterId::ARM_R0, ARM::R0}, in initLLVMToCVRegMapping()
242 {codeview::RegisterId::ARM_R1, ARM::R1}, in initLLVMToCVRegMapping()
243 {codeview::RegisterId::ARM_R2, ARM::R2}, in initLLVMToCVRegMapping()
244 {codeview::RegisterId::ARM_R3, ARM::R3}, in initLLVMToCVRegMapping()
245 {codeview::RegisterId::ARM_R4, ARM::R4}, in initLLVMToCVRegMapping()
246 {codeview::RegisterId::ARM_R5, ARM::R5}, in initLLVMToCVRegMapping()
247 {codeview::RegisterId::ARM_R6, ARM::R6}, in initLLVMToCVRegMapping()
248 {codeview::RegisterId::ARM_R7, ARM::R7}, in initLLVMToCVRegMapping()
249 {codeview::RegisterId::ARM_R8, ARM::R8}, in initLLVMToCVRegMapping()
[all …]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DPdbUtil.h41 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);
79 CVTagRecord(llvm::codeview::EnumRecord &&e);
81 llvm::codeview::ClassRecord cvclass;
82 llvm::codeview::EnumRecord cvenum;
[all …]
DUdtRecordCompleter.h39 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;
73 llvm::codeview::TypeIndex ti, llvm::codeview::MemberAccess access,
75 void AddMethod(llvm::StringRef name, llvm::codeview::TypeIndex type_idx,
76 llvm::codeview::MemberAccess access,
77 llvm::codeview::MethodOptions options,
[all …]
DPdbAstBuilder.h30 namespace codeview {
91 using TypeIndex = llvm::codeview::TypeIndex;
94 CreatePointerType(const llvm::codeview::PointerRecord &pointer);
96 CreateModifierType(const llvm::codeview::ModifierRecord &modifier);
97 clang::QualType CreateArrayType(const llvm::codeview::ArrayRecord &array);
99 const llvm::codeview::TagRecord &record);
101 const llvm::codeview::EnumRecord &record);
104 llvm::codeview::CallingConvention calling_convention);
112 llvm::codeview::CVSymbol sym,
115 GetParentDeclContextForSymbol(const llvm::codeview::CVSymbol &sym);
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h55 codeview::GlobalTypeTableBuilder TypeTable;
61 codeview::CPUType TheCPU;
173 codeview::EncodedFramePtrReg EncodedLocalFramePtrReg =
174 codeview::EncodedFramePtrReg::None;
178 codeview::EncodedFramePtrReg EncodedParamFramePtrReg =
179 codeview::EncodedFramePtrReg::None;
181 codeview::FrameProcedureOptions FrameProcOpts;
228 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP);
250 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex>
255 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices;
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
DMinimalSymbolDumper.h15 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;
43 virtual Error visitKnownRecord(codeview::CVSymbol &CVR, \
[all …]
DMinimalTypeDumper.h16 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, \
45 codeview::Name##Record &Record) override;
[all …]
DTypeReferenceTracker.h37 bool isTypeReferenced(codeview::TypeIndex TI) { in isTypeReferenced()
43 void addTypeRefsFromSymbol(const codeview::CVSymbol &Sym);
47 ArrayRef<codeview::TiReference> Refs);
52 void addOneTypeRef(codeview::TiRefKind RefKind, codeview::TypeIndex RefTI);
55 codeview::LazyRandomTypeCollection &Types;
56 codeview::LazyRandomTypeCollection *Ids = nullptr;
60 SmallVector<std::pair<codeview::TiRefKind, codeview::TypeIndex>, 10>
DInputFile.h24 namespace codeview {
48 using TypeCollectionPtr = std::unique_ptr<codeview::LazyRandomTypeCollection>;
54 codeview::LazyRandomTypeCollection &
76 codeview::LazyRandomTypeCollection &types();
77 codeview::LazyRandomTypeCollection &ids();
104 codeview::DebugSubsectionArray getDebugSubsections() const { in getDebugSubsections()
117 void updateDebugS(const codeview::DebugSubsectionArray &SS);
122 codeview::DebugSubsectionArray Subsections;
124 codeview::StringsAndChecksumsRef SC;
125 StringMap<codeview::FileChecksumEntry> ChecksumsByFile;
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
DTypeHashing.h24 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; }
188 static unsigned getHashValue(codeview::LocallyHashedType Val) {
192 static bool isEqual(codeview::LocallyHashedType LHS,
193 codeview::LocallyHashedType RHS) {
200 template <> struct DenseMapInfo<codeview::GloballyHashedType> {
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DTpiStream.h24 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);
79 std::unique_ptr<codeview::LazyRandomTypeCollection> Types;
[all …]
DSymbolCache.h44 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()
106 SymIndexId createSymbolForModifiedType(codeview::TypeIndex ModifierTI,
107 codeview::CVType CVT) const;
109 SymIndexId createSimpleType(codeview::TypeIndex TI,
110 codeview::ModifierOptions Mods) const;
140 createTypeEnumerator(codeview::TypeLeafKind Kind);
[all …]
DNativeTypeUDT.h23 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
24 codeview::ClassRecord Class);
26 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
27 codeview::UnionRecord Union);
31 codeview::ModifierRecord Modifier);
61 codeview::TypeIndex Index;
63 Optional<codeview::ClassRecord> Class;
64 Optional<codeview::UnionRecord> Union;
66 codeview::TagRecord *Tag = nullptr;
67 Optional<codeview::ModifierRecord> Modifiers;
DTpiHashing.h18 Expected<uint32_t> hashTypeRecord(const llvm::codeview::CVType &Type);
21 explicit TagRecordHash(codeview::ClassRecord CR, uint32_t Full, in TagRecordHash()
27 explicit TagRecordHash(codeview::EnumRecord ER, uint32_t Full, in TagRecordHash()
33 explicit TagRecordHash(codeview::UnionRecord UR, uint32_t Full, in TagRecordHash()
42 codeview::TagRecord &getRecord() { in getRecord()
56 codeview::ClassRecord Class;
57 codeview::EnumRecord Enum;
58 codeview::UnionRecord Union;
66 Expected<TagRecordHash> hashTagRecord(const codeview::CVType &Type);
DNativeTypeFunctionSig.h30 codeview::TypeIndex TI, codeview::ProcedureRecord Proc);
33 codeview::TypeIndex TI,
34 codeview::MemberFunctionRecord MemberFunc);
57 void initializeArgList(codeview::TypeIndex ArgListTI);
60 codeview::MemberFunctionRecord MemberFunc;
61 codeview::ProcedureRecord Proc;
65 codeview::TypeIndex Index;
66 codeview::ArgListRecord ArgList;
DModuleDebugStream.h29 using DebugSubsectionIterator = codeview::DebugSubsectionArray::Iterator;
42 iterator_range<codeview::CVSymbolArray::Iterator>
45 const codeview::CVSymbolArray &getSymbolArray() const { return SymbolArray; } in getSymbolArray()
46 const codeview::CVSymbolArray
56 codeview::CVSymbol readSymbolAtOffset(uint32_t Offset) const;
59 codeview::DebugSubsectionArray getSubsectionsArray() const { in getSubsectionsArray()
67 Expected<codeview::DebugChecksumsSubsectionRef>
79 codeview::CVSymbolArray SymbolArray;
86 codeview::DebugSubsectionArray Subsections;
DGSIStreamBuilder.h26 template <> struct BinaryItemTraits<codeview::CVSymbol> {
27 static size_t length(const codeview::CVSymbol &Item) {
30 static ArrayRef<uint8_t> bytes(const codeview::CVSymbol &Item) {
64 void addGlobalSymbol(const codeview::ProcRefSym &Sym);
65 void addGlobalSymbol(const codeview::DataSym &Sym);
66 void addGlobalSymbol(const codeview::ConstantSym &Sym);
70 void addGlobalSymbol(const codeview::CVSymbol &Sym);
96 std::vector<codeview::CVSymbol> Globals;
100 llvm::DenseSet<codeview::CVSymbol, SymbolDenseMapInfo> GlobalsSeen;
128 void setFlags(codeview::PublicSymFlags F) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DNativeExeSymbol.cpp44 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_ARRAY); in findChildren()
46 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_ENUM); in findChildren()
48 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_POINTER); in findChildren()
51 {codeview::LF_STRUCTURE, codeview::LF_CLASS, codeview::LF_UNION, in findChildren()
52 codeview::LF_INTERFACE}); in findChildren()
54 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_VTSHAPE); in findChildren()
57 {codeview::LF_PROCEDURE, codeview::LF_MFUNCTION}); in findChildren()
59 return Session.getSymbolCache().createGlobalsEnumerator(codeview::S_UDT); in findChildren()
79 codeview::GUID NativeExeSymbol::getGuid() const { in getGuid()
84 return codeview::GUID{{0}}; in getGuid()
DSymbolCache.cpp38 using namespace llvm::codeview;
44 codeview::SimpleTypeKind Kind;
48 {codeview::SimpleTypeKind::None, PDB_BuiltinType::None, 0},
49 {codeview::SimpleTypeKind::Void, PDB_BuiltinType::Void, 0},
50 {codeview::SimpleTypeKind::HResult, PDB_BuiltinType::HResult, 4},
51 {codeview::SimpleTypeKind::Int16Short, PDB_BuiltinType::Int, 2},
52 {codeview::SimpleTypeKind::UInt16Short, PDB_BuiltinType::UInt, 2},
53 {codeview::SimpleTypeKind::Int32, PDB_BuiltinType::Int, 4},
54 {codeview::SimpleTypeKind::UInt32, PDB_BuiltinType::UInt, 4},
55 {codeview::SimpleTypeKind::Int32Long, PDB_BuiltinType::Int, 4},
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
DCodeViewYAMLDebugSections.h30 namespace codeview {
86 codeview::FileChecksumKind Kind;
93 codeview::LineFlags Flags;
112 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC,
113 const codeview::DebugSubsectionRecord &SS);
120 Expected<std::vector<std::shared_ptr<codeview::DebugSubsection>>>
123 const codeview::StringsAndChecksums &SC);
126 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC);
129 codeview::StringsAndChecksums &SC);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
DRecordSerialization.cpp22 using namespace llvm::codeview;
27 StringRef llvm::codeview::getBytesAsCharacters(ArrayRef<uint8_t> LeafData) { in getBytesAsCharacters()
32 StringRef llvm::codeview::getBytesAsCString(ArrayRef<uint8_t> LeafData) { in getBytesAsCString()
36 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume()
104 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume()
114 Error llvm::codeview::consume_numeric(BinaryStreamReader &Reader, in consume_numeric()
126 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume()
130 Error llvm::codeview::consume(StringRef &Data, uint32_t &Item) { in consume()
139 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume()
143 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume()
[all …]
/freebsd-12-stable/contrib/llvm-project/lld/COFF/
DTypeMerger.h21 using llvm::codeview::GloballyHashedType;
22 using llvm::codeview::TypeIndex;
33 inline llvm::codeview::TypeCollection &getTypeTable() { in getTypeTable()
39 inline llvm::codeview::TypeCollection &getIDTable() { in getIDTable()
53 llvm::codeview::MergingTypeTableBuilder typeTable;
56 llvm::codeview::MergingTypeTableBuilder idTable;
DDebugTypes.h21 namespace codeview {
33 using llvm::codeview::GloballyHashedType;
34 using llvm::codeview::TypeIndex;
69 bool remapTypeIndex(TypeIndex &ti, llvm::codeview::TiRefKind refKind) const;
73 ArrayRef<llvm::codeview::TiReference> typeRefs);
75 void mergeTypeRecord(TypeIndex curIndex, llvm::codeview::CVType ty);
162 llvm::ArrayRef<llvm::codeview::GloballyHashedType> ghashes;
192 llvm::codeview::TypeServer2Record ts);
195 llvm::codeview::PrecompRecord ts);

1234567891011