Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCTargetDesc.cpp69 codeview::RegisterId CVReg; in initLLVMToCVRegMapping()
72 {codeview::RegisterId::ARM64_W0, AArch64::W0}, in initLLVMToCVRegMapping()
73 {codeview::RegisterId::ARM64_W1, AArch64::W1}, in initLLVMToCVRegMapping()
74 {codeview::RegisterId::ARM64_W2, AArch64::W2}, in initLLVMToCVRegMapping()
75 {codeview::RegisterId::ARM64_W3, AArch64::W3}, in initLLVMToCVRegMapping()
76 {codeview::RegisterId::ARM64_W4, AArch64::W4}, in initLLVMToCVRegMapping()
77 {codeview::RegisterId::ARM64_W5, AArch64::W5}, in initLLVMToCVRegMapping()
78 {codeview::RegisterId::ARM64_W6, AArch64::W6}, in initLLVMToCVRegMapping()
79 {codeview::RegisterId::ARM64_W7, AArch64::W7}, in initLLVMToCVRegMapping()
80 {codeview::RegisterId::ARM64_W8, AArch64::W8}, in initLLVMToCVRegMapping()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp177 codeview::RegisterId CVReg; in initLLVMToSEHAndCVRegMapping()
180 {codeview::RegisterId::AL, X86::AL}, in initLLVMToSEHAndCVRegMapping()
181 {codeview::RegisterId::CL, X86::CL}, in initLLVMToSEHAndCVRegMapping()
182 {codeview::RegisterId::DL, X86::DL}, in initLLVMToSEHAndCVRegMapping()
183 {codeview::RegisterId::BL, X86::BL}, in initLLVMToSEHAndCVRegMapping()
184 {codeview::RegisterId::AH, X86::AH}, in initLLVMToSEHAndCVRegMapping()
185 {codeview::RegisterId::CH, X86::CH}, in initLLVMToSEHAndCVRegMapping()
186 {codeview::RegisterId::DH, X86::DH}, in initLLVMToSEHAndCVRegMapping()
187 {codeview::RegisterId::BH, X86::BH}, in initLLVMToSEHAndCVRegMapping()
188 {codeview::RegisterId::AX, X86::AX}, in initLLVMToSEHAndCVRegMapping()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DCodeViewRegisterMapping.cpp611 llvm::Triple::ArchType arch_type, llvm::codeview::RegisterId register_id) { in GetLLDBRegisterNumber()
629 case llvm::codeview::RegisterId::MXCSR: in GetLLDBRegisterNumber()
631 case llvm::codeview::RegisterId::BND0: in GetLLDBRegisterNumber()
633 case llvm::codeview::RegisterId::BND1: in GetLLDBRegisterNumber()
635 case llvm::codeview::RegisterId::BND2: in GetLLDBRegisterNumber()
654 lldb_private::npdb::GetRegisterSize(llvm::codeview::RegisterId register_id) { in GetRegisterSize()
656 case llvm::codeview::RegisterId::AL: in GetRegisterSize()
657 case llvm::codeview::RegisterId::BL: in GetRegisterSize()
658 case llvm::codeview::RegisterId::CL: in GetRegisterSize()
659 case llvm::codeview::RegisterId::DL: in GetRegisterSize()
[all …]
H A DPdbUtil.h40 static CVTagRecord create(llvm::codeview::CVType type);
44 const llvm::codeview::TagRecord &asTag() const { in asTag()
52 const llvm::codeview::ClassRecord &asClass() const { in asClass()
57 const llvm::codeview::EnumRecord &asEnum() const { in asEnum()
62 const llvm::codeview::UnionRecord &asUnion() const { in asUnion()
76 CVTagRecord(llvm::codeview::ClassRecord &&c);
77 CVTagRecord(llvm::codeview::UnionRecord &&u);
78 CVTagRecord(llvm::codeview::EnumRecord &&e);
80 llvm::codeview::ClassRecord cvclass;
81 llvm::codeview::EnumRecord cvenum;
[all …]
H A DUdtRecordCompleter.h40 class UdtRecordCompleter : public llvm::codeview::TypeVisitorCallbacks {
46 llvm::codeview::UnionRecord ur;
47 llvm::codeview::ClassRecord cr;
48 llvm::codeview::EnumRecord er;
73 llvm::Error visitKnownMember(llvm::codeview::CVMemberRecord &CVR, \
74 llvm::codeview::Name##Record &Record) override;
130 llvm::codeview::TypeIndex ti, llvm::codeview::MemberAccess access,
132 void AddMethod(llvm::StringRef name, llvm::codeview::TypeIndex type_idx,
133 llvm::codeview::MemberAccess access,
134 llvm::codeview::MethodOptions options,
[all …]
H A DSymbolFileNativePDB.h30 namespace codeview {
168 std::optional<llvm::codeview::TypeIndex>
169 GetParentType(llvm::codeview::TypeIndex ti);
201 const llvm::codeview::ModifierRecord &mr,
204 const llvm::codeview::PointerRecord &pr,
206 lldb::TypeSP CreateSimpleType(llvm::codeview::TypeIndex ti, CompilerType ct);
208 const llvm::codeview::ClassRecord &cr,
211 const llvm::codeview::EnumRecord &er,
214 const llvm::codeview::UnionRecord &ur,
217 const llvm::codeview::ArrayRecord &ar,
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCTargetDesc.cpp227 codeview::RegisterId CVReg; in initLLVMToCVRegMapping()
230 {codeview::RegisterId::ARM_R0, ARM::R0}, in initLLVMToCVRegMapping()
231 {codeview::RegisterId::ARM_R1, ARM::R1}, in initLLVMToCVRegMapping()
232 {codeview::RegisterId::ARM_R2, ARM::R2}, in initLLVMToCVRegMapping()
233 {codeview::RegisterId::ARM_R3, ARM::R3}, in initLLVMToCVRegMapping()
234 {codeview::RegisterId::ARM_R4, ARM::R4}, in initLLVMToCVRegMapping()
235 {codeview::RegisterId::ARM_R5, ARM::R5}, in initLLVMToCVRegMapping()
236 {codeview::RegisterId::ARM_R6, ARM::R6}, in initLLVMToCVRegMapping()
237 {codeview::RegisterId::ARM_R7, ARM::R7}, in initLLVMToCVRegMapping()
238 {codeview::RegisterId::ARM_R8, ARM::R8}, in initLLVMToCVRegMapping()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h90 codeview::GlobalTypeTableBuilder TypeTable;
96 codeview::CPUType TheCPU;
181 codeview::EncodedFramePtrReg EncodedLocalFramePtrReg =
182 codeview::EncodedFramePtrReg::None;
186 codeview::EncodedFramePtrReg EncodedParamFramePtrReg =
187 codeview::EncodedFramePtrReg::None;
189 codeview::FrameProcedureOptions FrameProcOpts;
197 codeview::SourceLanguage CurrentSourceLanguage =
198 codeview::SourceLanguage::Masm;
243 codeview::TypeIndex getFuncIdForSubprogram(const DISubprogram *SP);
[all …]
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A 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 …]
H A 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 …]
H A DTypeReferenceTracker.h35 bool isTypeReferenced(codeview::TypeIndex TI) { in isTypeReferenced()
41 void addTypeRefsFromSymbol(const codeview::CVSymbol &Sym);
45 ArrayRef<codeview::TiReference> Refs);
50 void addOneTypeRef(codeview::TiRefKind RefKind, codeview::TypeIndex RefTI);
53 codeview::LazyRandomTypeCollection &Types;
54 codeview::LazyRandomTypeCollection *Ids = nullptr;
58 SmallVector<std::pair<codeview::TiRefKind, codeview::TypeIndex>, 10>
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStream.h22 namespace codeview {
53 FixedStreamArray<codeview::TypeIndexOffset> getTypeIndexOffsets() const;
56 codeview::CVTypeRange types(bool *HadError) const;
57 const codeview::CVTypeArray &typeArray() const { return TypeRecords; } in typeArray()
59 codeview::LazyRandomTypeCollection &typeCollection() { return *Types; } in typeCollection()
61 Expected<codeview::TypeIndex>
62 findFullDeclForForwardRef(codeview::TypeIndex ForwardRefTI) const;
64 std::vector<codeview::TypeIndex> findRecordsByName(StringRef Name) const;
66 codeview::CVType getType(codeview::TypeIndex Index);
80 std::unique_ptr<codeview::LazyRandomTypeCollection> Types;
[all …]
H A DSymbolCache.h26 namespace codeview {
50 mutable DenseMap<codeview::TypeIndex, SymIndexId> TypeIndexToSymbolId;
55 mutable DenseMap<std::pair<codeview::TypeIndex, uint32_t>, SymIndexId>
83 codeview::LineInfo Line;
99 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType()
103 codeview::TypeDeserializer::deserializeAs<CVRecordT>(CVT, Record)) { in createSymbolForType()
112 SymIndexId createSymbolForModifiedType(codeview::TypeIndex ModifierTI,
113 codeview::CVType CVT) const;
115 SymIndexId createSimpleType(codeview::TypeIndex TI,
116 codeview::ModifierOptions Mods) const;
[all …]
H A DModuleDebugStream.h23 namespace codeview {
32 using DebugSubsectionIterator = codeview::DebugSubsectionArray::Iterator;
45 iterator_range<codeview::CVSymbolArray::Iterator>
48 const codeview::CVSymbolArray &getSymbolArray() const { return SymbolArray; } in getSymbolArray()
49 const codeview::CVSymbolArray
59 codeview::CVSymbol readSymbolAtOffset(uint32_t Offset) const;
62 codeview::DebugSubsectionArray getSubsectionsArray() const { in getSubsectionsArray()
70 Expected<codeview::DebugChecksumsSubsectionRef>
82 codeview::CVSymbolArray SymbolArray;
89 codeview::DebugSubsectionArray Subsections;
H A DNativeTypeUDT.h26 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
27 codeview::ClassRecord Class);
29 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
30 codeview::UnionRecord Union);
34 codeview::ModifierRecord Modifier);
64 codeview::TypeIndex Index;
66 std::optional<codeview::ClassRecord> Class;
67 std::optional<codeview::UnionRecord> Union;
69 codeview::TagRecord *Tag = nullptr;
70 std::optional<codeview::ModifierRecord> Modifiers;
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 DNativeTypeFunctionSig.h27 codeview::TypeIndex TI, codeview::ProcedureRecord Proc);
30 codeview::TypeIndex TI,
31 codeview::MemberFunctionRecord MemberFunc);
54 void initializeArgList(codeview::TypeIndex ArgListTI);
57 codeview::MemberFunctionRecord MemberFunc;
58 codeview::ProcedureRecord Proc;
62 codeview::TypeIndex Index;
63 codeview::ArgListRecord ArgList;
H A DGSIStreamBuilder.h21 namespace codeview {
28 template <> struct BinaryItemTraits<codeview::CVSymbol> {
29 static size_t length(const codeview::CVSymbol &Item) {
32 static ArrayRef<uint8_t> bytes(const codeview::CVSymbol &Item) {
66 void addGlobalSymbol(const codeview::ProcRefSym &Sym);
67 void addGlobalSymbol(const codeview::DataSym &Sym);
68 void addGlobalSymbol(const codeview::ConstantSym &Sym);
72 void addGlobalSymbol(const codeview::CVSymbol &Sym);
98 std::vector<codeview::CVSymbol> Globals;
102 llvm::DenseSet<codeview::CVSymbol, SymbolDenseMapInfo> GlobalsSeen;
[all …]
H A DNativeTypeEnum.h26 NativeTypeEnum(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
27 codeview::EnumRecord Record);
31 codeview::ModifierRecord Modifier);
63 const codeview::EnumRecord &getEnumRecord() const { return *Record; } in getEnumRecord()
66 codeview::TypeIndex Index;
67 std::optional<codeview::EnumRecord> Record;
69 std::optional<codeview::ModifierRecord> Modifiers;
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h26 namespace codeview {
183 template <> struct DenseMapInfo<codeview::LocallyHashedType> {
184 static codeview::LocallyHashedType Empty;
185 static codeview::LocallyHashedType Tombstone;
187 static codeview::LocallyHashedType getEmptyKey() { return Empty; }
189 static codeview::LocallyHashedType getTombstoneKey() { return Tombstone; }
191 static unsigned getHashValue(codeview::LocallyHashedType Val) {
195 static bool isEqual(codeview::LocallyHashedType LHS,
196 codeview::LocallyHashedType RHS) {
203 template <> struct DenseMapInfo<codeview::GloballyHashedType> {
[all …]
/openbsd-src/gnu/llvm/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.cpp42 using namespace llvm::codeview;
48 codeview::SimpleTypeKind Kind;
52 {codeview::SimpleTypeKind::None, PDB_BuiltinType::None, 0},
53 {codeview::SimpleTypeKind::Void, PDB_BuiltinType::Void, 0},
54 {codeview::SimpleTypeKind::HResult, PDB_BuiltinType::HResult, 4},
55 {codeview::SimpleTypeKind::Int16Short, PDB_BuiltinType::Int, 2},
56 {codeview::SimpleTypeKind::UInt16Short, PDB_BuiltinType::UInt, 2},
57 {codeview::SimpleTypeKind::Int32, PDB_BuiltinType::Int, 4},
58 {codeview::SimpleTypeKind::UInt32, PDB_BuiltinType::UInt, 4},
59 {codeview::SimpleTypeKind::Int32Long, PDB_BuiltinType::Int, 4},
[all …]
/openbsd-src/gnu/llvm/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);
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/lld/COFF/
H A DDebugTypes.h20 namespace llvm::codeview {
30 using llvm::codeview::GloballyHashedType;
31 using llvm::codeview::TypeIndex;
67 bool remapTypeIndex(TypeIndex &ti, llvm::codeview::TiRefKind refKind) const;
71 ArrayRef<llvm::codeview::TiReference> typeRefs);
73 void mergeTypeRecord(TypeIndex curIndex, llvm::codeview::CVType ty);
139 llvm::ArrayRef<llvm::codeview::GloballyHashedType> ghashes;
170 llvm::codeview::TypeServer2Record ts);
173 llvm::codeview::PrecompRecord ts);

1234567891011