Home
last modified time | relevance | path

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

1234567891011

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A 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-13.1/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A 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-13.1/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A 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-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.h45 const llvm::codeview::TagRecord &asTag() const { in asTag()
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;
83 llvm::codeview::UnionRecord cvunion;
105 llvm::codeview::TypeIndex type;
130 bool IsTagRecord(llvm::codeview::CVType cvt);
137 llvm::codeview::TypeIndex GetFieldListIndex(llvm::codeview::CVType cvt);
[all …]
H A 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 …]
H A 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-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h55 codeview::GlobalTypeTableBuilder TypeTable;
61 codeview::CPUType TheCPU;
174 codeview::EncodedFramePtrReg::None;
264 codeview::TypeIndex VBPType;
383 codeview::TypeIndex
394 codeview::TypeIndex getVBPTypeIndex();
404 codeview::TypeIndex lowerTypePointer(
406 codeview::PointerOptions PO = codeview::PointerOptions::None);
409 codeview::PointerOptions PO = codeview::PointerOptions::None);
416 codeview::FunctionOptions FO = codeview::FunctionOptions::None);
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.h15 namespace codeview {
26 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper()
27 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper()
31 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper()
36 Error visitSymbolBegin(codeview::CVSymbol &Record) override;
38 Error visitSymbolEnd(codeview::CVSymbol &Record) override;
51 std::string typeIndex(codeview::TypeIndex TI) const;
52 std::string idIndex(codeview::TypeIndex TI) const;
58 codeview::CPUType CompilationCPU = codeview::CPUType::X64;
62 codeview::LazyRandomTypeCollection &Ids;
[all …]
H A DMinimalTypeDumper.h16 namespace codeview {
25 class MinimalTypeDumpVisitor : public codeview::TypeVisitorCallbacks {
37 Error visitTypeBegin(codeview::CVType &Record,
38 codeview::TypeIndex Index) override;
39 Error visitTypeEnd(codeview::CVType &Record) override;
41 Error visitMemberEnd(codeview::CVMemberRecord &Record) override;
45 codeview::Name##Record &Record) override;
48 codeview::Name##Record &Record) override;
54 StringRef getTypeName(codeview::TypeIndex TI) const;
60 codeview::LazyRandomTypeCollection &Types;
[all …]
H A 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>
H A 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-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStream.h24 namespace codeview {
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;
65 codeview::CVType getType(codeview::TypeIndex Index);
79 std::unique_ptr<codeview::LazyRandomTypeCollection> Types;
83 codeview::CVTypeArray TypeRecords;
87 FixedStreamArray<codeview::TypeIndexOffset> TypeIndexOffsets;
[all …]
H A DSymbolCache.h44 mutable DenseMap<codeview::TypeIndex, SymIndexId> TypeIndexToSymbolId;
77 codeview::LineInfo Line;
93 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType()
107 codeview::CVType CVT) const;
109 SymIndexId createSimpleType(codeview::TypeIndex TI,
110 codeview::ModifierOptions Mods) const;
140 createTypeEnumerator(codeview::TypeLeafKind Kind);
143 createTypeEnumerator(std::vector<codeview::TypeLeafKind> Kinds);
146 createGlobalsEnumerator(codeview::SymbolKind Kind);
148 SymIndexId findSymbolByTypeIndex(codeview::TypeIndex TI) const;
[all …]
H A 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;
H A 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;
H A 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);
H A 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;
H A 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) {
H A DNativeTypeEnum.h25 NativeTypeEnum(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
26 codeview::EnumRecord Record);
30 codeview::ModifierRecord Modifier);
62 const codeview::EnumRecord &getEnumRecord() const { return *Record; } in getEnumRecord()
65 codeview::TypeIndex Index;
66 Optional<codeview::EnumRecord> Record;
68 Optional<codeview::ModifierRecord> Modifiers;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h24 namespace codeview {
181 static codeview::LocallyHashedType Empty;
182 static codeview::LocallyHashedType Tombstone;
192 static bool isEqual(codeview::LocallyHashedType LHS,
193 codeview::LocallyHashedType RHS) {
201 static codeview::GloballyHashedType Empty;
202 static codeview::GloballyHashedType Tombstone;
212 static bool isEqual(codeview::GloballyHashedType LHS,
213 codeview::GloballyHashedType RHS) {
220 static void format(const codeview::LocallyHashedType &V,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A 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()
H A DSymbolCache.cpp38 using namespace llvm::codeview;
44 codeview::SimpleTypeKind Kind;
196 case codeview::LF_ENUM: in findSymbolByTypeIndex()
199 case codeview::LF_ARRAY: in findSymbolByTypeIndex()
203 case codeview::LF_CLASS: in findSymbolByTypeIndex()
204 case codeview::LF_STRUCTURE: in findSymbolByTypeIndex()
205 case codeview::LF_INTERFACE: in findSymbolByTypeIndex()
208 case codeview::LF_UNION: in findSymbolByTypeIndex()
211 case codeview::LF_POINTER: in findSymbolByTypeIndex()
215 case codeview::LF_MODIFIER: in findSymbolByTypeIndex()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A 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-13.1/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A 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-13.1/contrib/llvm-project/lld/COFF/
H A 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;

1234567891011