Home
last modified time | relevance | path

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

123456789

/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCTargetDesc.cpp81 codeview::RegisterId CVReg; in initLLVMToSEHAndCVRegMapping()
84 {codeview::RegisterId::AL, X86::AL}, in initLLVMToSEHAndCVRegMapping()
85 {codeview::RegisterId::CL, X86::CL}, in initLLVMToSEHAndCVRegMapping()
86 {codeview::RegisterId::DL, X86::DL}, in initLLVMToSEHAndCVRegMapping()
87 {codeview::RegisterId::BL, X86::BL}, in initLLVMToSEHAndCVRegMapping()
88 {codeview::RegisterId::AH, X86::AH}, in initLLVMToSEHAndCVRegMapping()
89 {codeview::RegisterId::CH, X86::CH}, in initLLVMToSEHAndCVRegMapping()
90 {codeview::RegisterId::DH, X86::DH}, in initLLVMToSEHAndCVRegMapping()
91 {codeview::RegisterId::BH, X86::BH}, in initLLVMToSEHAndCVRegMapping()
92 {codeview::RegisterId::AX, X86::AX}, in initLLVMToSEHAndCVRegMapping()
[all …]
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h55 codeview::GlobalTypeTableBuilder TypeTable;
61 codeview::CPUType TheCPU;
172 codeview::EncodedFramePtrReg::None;
263 codeview::TypeIndex VBPType;
379 codeview::TypeIndex
390 codeview::TypeIndex getVBPTypeIndex();
400 codeview::TypeIndex lowerTypePointer(
402 codeview::PointerOptions PO = codeview::PointerOptions::None);
405 codeview::PointerOptions PO = codeview::PointerOptions::None);
412 codeview::FunctionOptions FO = codeview::FunctionOptions::None);
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.h46 const llvm::codeview::TagRecord &asTag() const { in asTag()
78 CVTagRecord(llvm::codeview::ClassRecord &&c);
79 CVTagRecord(llvm::codeview::UnionRecord &&u);
80 CVTagRecord(llvm::codeview::EnumRecord &&e);
82 llvm::codeview::ClassRecord cvclass;
83 llvm::codeview::EnumRecord cvenum;
84 llvm::codeview::UnionRecord cvunion;
106 llvm::codeview::TypeIndex type;
131 bool IsTagRecord(llvm::codeview::CVType cvt);
138 llvm::codeview::TypeIndex GetFieldListIndex(llvm::codeview::CVType cvt);
[all …]
H A DUdtRecordCompleter.h38 class UdtRecordCompleter : public llvm::codeview::TypeVisitorCallbacks {
41 llvm::codeview::UnionRecord ur;
42 llvm::codeview::ClassRecord cr;
43 llvm::codeview::EnumRecord er;
60 llvm::Error visitKnownMember(llvm::codeview::CVMemberRecord &CVR, \
61 llvm::codeview::Name##Record &Record) override;
68 clang::QualType AddBaseClassForTypeIndex(llvm::codeview::TypeIndex ti,
69 llvm::codeview::MemberAccess access);
H A DPdbAstBuilder.h31 namespace codeview {
94 using TypeIndex = llvm::codeview::TypeIndex;
97 CreatePointerType(const llvm::codeview::PointerRecord &pointer);
99 CreateModifierType(const llvm::codeview::ModifierRecord &modifier);
100 clang::QualType CreateArrayType(const llvm::codeview::ArrayRecord &array);
102 const llvm::codeview::TagRecord &record);
104 const llvm::codeview::EnumRecord &record);
106 CreateProcedureType(const llvm::codeview::ProcedureRecord &proc);
114 llvm::codeview::CVSymbol sym,
117 GetParentDeclContextForSymbol(const llvm::codeview::CVSymbol &sym);
[all …]
H A DSymbolFileNativePDB.h29 namespace codeview {
172 const llvm::codeview::ModifierRecord &mr,
175 const llvm::codeview::PointerRecord &pr,
179 const llvm::codeview::ClassRecord &cr,
182 const llvm::codeview::EnumRecord &er,
185 const llvm::codeview::UnionRecord &ur,
188 const llvm::codeview::ArrayRecord &ar,
191 const llvm::codeview::ProcedureRecord &pr,
194 const llvm::codeview::TagRecord &record,
201 lldb::TypeSP GetOrCreateType(llvm::codeview::TypeIndex ti);
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp29 using namespace llvm::codeview;
35 codeview::SimpleTypeKind Kind;
185 case codeview::LF_ENUM: in findSymbolByTypeIndex()
188 case codeview::LF_ARRAY: in findSymbolByTypeIndex()
192 case codeview::LF_CLASS: in findSymbolByTypeIndex()
193 case codeview::LF_STRUCTURE: in findSymbolByTypeIndex()
194 case codeview::LF_INTERFACE: in findSymbolByTypeIndex()
197 case codeview::LF_UNION: in findSymbolByTypeIndex()
200 case codeview::LF_POINTER: in findSymbolByTypeIndex()
204 case codeview::LF_MODIFIER: in findSymbolByTypeIndex()
[all …]
H A DNativeExeSymbol.cpp45 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_ARRAY); in findChildren()
47 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_ENUM); in findChildren()
49 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_POINTER); in findChildren()
52 {codeview::LF_STRUCTURE, codeview::LF_CLASS, codeview::LF_UNION, in findChildren()
53 codeview::LF_INTERFACE}); in findChildren()
55 return Session.getSymbolCache().createTypeEnumerator(codeview::LF_VTSHAPE); in findChildren()
58 {codeview::LF_PROCEDURE, codeview::LF_MFUNCTION}); in findChildren()
60 return Session.getSymbolCache().createGlobalsEnumerator(codeview::S_UDT); in findChildren()
80 codeview::GUID NativeExeSymbol::getGuid() const { in getGuid()
85 return codeview::GUID{{0}}; in getGuid()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.h16 namespace codeview {
27 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper()
28 codeview::LazyRandomTypeCollection &Types) in MinimalSymbolDumper()
32 codeview::LazyRandomTypeCollection &Ids, in MinimalSymbolDumper()
37 Error visitSymbolBegin(codeview::CVSymbol &Record) override;
39 Error visitSymbolEnd(codeview::CVSymbol &Record) override;
52 std::string typeIndex(codeview::TypeIndex TI) const;
53 std::string idIndex(codeview::TypeIndex TI) const;
59 codeview::CPUType CompilationCPU = codeview::CPUType::X64;
63 codeview::LazyRandomTypeCollection &Ids;
[all …]
H A DMinimalTypeDumper.h17 namespace codeview {
25 class MinimalTypeDumpVisitor : public codeview::TypeVisitorCallbacks {
36 Error visitTypeBegin(codeview::CVType &Record,
37 codeview::TypeIndex Index) override;
38 Error visitTypeEnd(codeview::CVType &Record) override;
40 Error visitMemberEnd(codeview::CVMemberRecord &Record) override;
44 codeview::Name##Record &Record) override;
47 codeview::Name##Record &Record) override;
53 StringRef getTypeName(codeview::TypeIndex TI) const;
59 codeview::LazyRandomTypeCollection &Types;
[all …]
H A DInputFile.h25 namespace codeview {
49 using TypeCollectionPtr = std::unique_ptr<codeview::LazyRandomTypeCollection>;
55 codeview::LazyRandomTypeCollection &
77 codeview::LazyRandomTypeCollection &types();
78 codeview::LazyRandomTypeCollection &ids();
105 codeview::DebugSubsectionArray getDebugSubsections() const { in getDebugSubsections()
118 void updateDebugS(const codeview::DebugSubsectionArray &SS);
123 codeview::DebugSubsectionArray Subsections;
125 codeview::StringsAndChecksumsRef SC;
126 StringMap<codeview::FileChecksumEntry> ChecksumsByFile;
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeHashing.h25 namespace codeview {
150 static codeview::LocallyHashedType Empty;
151 static codeview::LocallyHashedType Tombstone;
161 static bool isEqual(codeview::LocallyHashedType LHS,
162 codeview::LocallyHashedType RHS) {
170 static codeview::GloballyHashedType Empty;
171 static codeview::GloballyHashedType Tombstone;
181 static bool isEqual(codeview::GloballyHashedType LHS,
182 codeview::GloballyHashedType RHS) {
189 static void format(const codeview::LocallyHashedType &V,
[all …]
H A DFormatters.h24 namespace codeview {
50 template <> struct format_provider<codeview::TypeIndex> {
52 static void format(const codeview::TypeIndex &V, raw_ostream &Stream,
59 Stream << " (" << codeview::TypeIndex::simpleTypeName(V) << ")";
64 template <> struct format_provider<codeview::GUID> {
65 static void format(const codeview::GUID &V, llvm::raw_ostream &Stream,
H A DDebugSubsectionRecord.h26 namespace codeview {
81 template <> struct VarStreamArrayExtractor<codeview::DebugSubsectionRecord> {
83 codeview::DebugSubsectionRecord &Info) {
87 if (auto EC = codeview::DebugSubsectionRecord::initialize(
88 Stream, Info, codeview::CodeViewContainer::Pdb))
95 namespace codeview {
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStream.h25 namespace codeview {
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;
66 codeview::CVType getType(codeview::TypeIndex Index);
80 std::unique_ptr<codeview::LazyRandomTypeCollection> Types;
84 codeview::CVTypeArray TypeRecords;
88 FixedStreamArray<codeview::TypeIndexOffset> TypeIndexOffsets;
[all …]
H A DSymbolCache.h41 DenseMap<codeview::TypeIndex, SymIndexId> TypeIndexToSymbolId;
46 DenseMap<std::pair<codeview::TypeIndex, uint32_t>, SymIndexId>
63 SymIndexId createSymbolForType(codeview::TypeIndex TI, codeview::CVType CVT, in createSymbolForType()
77 codeview::CVType CVT);
79 SymIndexId createSimpleType(codeview::TypeIndex TI,
80 codeview::ModifierOptions Mods);
105 createTypeEnumerator(codeview::TypeLeafKind Kind);
108 createTypeEnumerator(std::vector<codeview::TypeLeafKind> Kinds);
111 createGlobalsEnumerator(codeview::SymbolKind Kind);
113 SymIndexId findSymbolByTypeIndex(codeview::TypeIndex TI);
[all …]
H A DNativeTypeUDT.h24 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
25 codeview::ClassRecord Class);
27 NativeTypeUDT(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI,
28 codeview::UnionRecord Union);
32 codeview::ModifierRecord Modifier);
62 codeview::TypeIndex Index;
64 Optional<codeview::ClassRecord> Class;
65 Optional<codeview::UnionRecord> Union;
67 codeview::TagRecord *Tag = nullptr;
68 Optional<codeview::ModifierRecord> Modifiers;
H A DNativeTypeFunctionSig.h31 codeview::TypeIndex TI, codeview::ProcedureRecord Proc);
34 codeview::TypeIndex TI,
35 codeview::MemberFunctionRecord MemberFunc);
58 void initializeArgList(codeview::TypeIndex ArgListTI);
61 codeview::MemberFunctionRecord MemberFunc;
62 codeview::ProcedureRecord Proc;
66 codeview::TypeIndex Index;
67 codeview::ArgListRecord ArgList;
H A DTpiHashing.h19 Expected<uint32_t> hashTypeRecord(const llvm::codeview::CVType &Type);
22 explicit TagRecordHash(codeview::ClassRecord CR, uint32_t Full, in TagRecordHash()
28 explicit TagRecordHash(codeview::EnumRecord ER, uint32_t Full, in TagRecordHash()
34 explicit TagRecordHash(codeview::UnionRecord UR, uint32_t Full, in TagRecordHash()
43 codeview::TagRecord &getRecord() { in getRecord()
57 codeview::ClassRecord Class;
58 codeview::EnumRecord Enum;
59 codeview::UnionRecord Union;
67 Expected<TagRecordHash> hashTagRecord(const codeview::CVType &Type);
H A DModuleDebugStream.h30 using DebugSubsectionIterator = codeview::DebugSubsectionArray::Iterator;
43 iterator_range<codeview::CVSymbolArray::Iterator>
46 const codeview::CVSymbolArray &getSymbolArray() const { return SymbolArray; } in getSymbolArray()
47 const codeview::CVSymbolArray
57 codeview::CVSymbol readSymbolAtOffset(uint32_t Offset) const;
60 codeview::DebugSubsectionArray getSubsectionsArray() const { in getSubsectionsArray()
68 Expected<codeview::DebugChecksumsSubsectionRef>
78 codeview::CVSymbolArray SymbolArray;
85 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) {
59 void addPublicSymbol(const codeview::PublicSym32 &Pub);
61 void addGlobalSymbol(const codeview::ProcRefSym &Sym);
62 void addGlobalSymbol(const codeview::DataSym &Sym);
63 void addGlobalSymbol(const codeview::ConstantSym &Sym);
64 void addGlobalSymbol(const codeview::CVSymbol &Sym);
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 Optional<codeview::EnumRecord> Record;
69 Optional<codeview::ModifierRecord> Modifiers;
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLDebugSections.h31 namespace codeview {
87 codeview::FileChecksumKind Kind;
94 codeview::LineFlags Flags;
113 fromCodeViewSubection(const codeview::StringsAndChecksumsRef &SC,
114 const codeview::DebugSubsectionRecord &SS);
121 Expected<std::vector<std::shared_ptr<codeview::DebugSubsection>>>
124 const codeview::StringsAndChecksums &SC);
127 fromDebugS(ArrayRef<uint8_t> Data, const codeview::StringsAndChecksumsRef &SC);
130 codeview::StringsAndChecksums &SC);
H A DCodeViewYAMLTypes.h29 namespace codeview {
49 codeview::CVType
50 toCodeViewRecord(codeview::AppendingTypeTableBuilder &Serializer) const;
51 static Expected<LeafRecord> fromCodeViewRecord(codeview::CVType Type);
63 LLVM_YAML_DECLARE_SCALAR_TRAITS(codeview::GUID, QuotingType::Single)
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DRecordSerialization.cpp23 using namespace llvm::codeview;
28 StringRef llvm::codeview::getBytesAsCharacters(ArrayRef<uint8_t> LeafData) { in getBytesAsCharacters()
33 StringRef llvm::codeview::getBytesAsCString(ArrayRef<uint8_t> LeafData) { in getBytesAsCString()
37 Error llvm::codeview::consume(BinaryStreamReader &Reader, APSInt &Num) { in consume()
105 Error llvm::codeview::consume(StringRef &Data, APSInt &Num) { in consume()
115 Error llvm::codeview::consume_numeric(BinaryStreamReader &Reader, in consume_numeric()
127 Error llvm::codeview::consume(BinaryStreamReader &Reader, uint32_t &Item) { in consume()
131 Error llvm::codeview::consume(StringRef &Data, uint32_t &Item) { in consume()
140 Error llvm::codeview::consume(BinaryStreamReader &Reader, int32_t &Item) { in consume()
144 Error llvm::codeview::consume(BinaryStreamReader &Reader, StringRef &Item) { in consume()
[all …]

123456789