Home
last modified time | relevance | path

Searched refs:CVType (Results 1 – 25 of 63) sorted by relevance

123

/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp42 Error visitTypeBegin(CVType &Record) override;
44 Error visitTypeEnd(CVType &Record) override;
54 Error TypeNameComputer::visitTypeBegin(CVType &Record) { in visitTypeBegin()
68 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
96 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
147 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
211 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
222 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
231 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
244 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
H A DTypeDumpVisitor.cpp170 Error TypeDumpVisitor::visitTypeBegin(CVType &Record) { in visitTypeBegin()
174 Error TypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
184 Error TypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
211 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
336 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
403 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
409 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
417 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
460 Error TypeDumpVisitor::visitUnknownType(CVType &Record) { in visitUnknownType()
558 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
H A DTypeRecordMapping.cpp232 Error TypeRecordMapping::visitTypeBegin(CVType &CVR) { in visitTypeBegin()
264 Error TypeRecordMapping::visitTypeEnd(CVType &Record) { in visitTypeEnd()
323 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
339 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
368 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
497 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
553 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
562 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
580 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
589 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
H A DCVTypeVisitor.cpp25 static Error visitKnownRecord(CVType &Record, TypeVisitorCallbacks &Callbacks) { in visitKnownRecord()
78 Error visitTypeRecord(CVType &Record, TypeIndex Index);
79 Error visitTypeRecord(CVType &Record);
90 Error finishVisitation(CVType &Record);
99 Error CVTypeVisitor::finishVisitation(CVType &Record) { in finishVisitation()
124 Error CVTypeVisitor::visitTypeRecord(CVType &Record, TypeIndex Index) { in visitTypeRecord()
131 Error CVTypeVisitor::visitTypeRecord(CVType &Record) { in visitTypeRecord()
162 CVType Type = Types.getType(*I); in visitTypeStream()
219 Error llvm::codeview::visitTypeRecord(CVType &Record, TypeIndex Index, in visitTypeRecord()
226 Error llvm::codeview::visitTypeRecord(CVType &Record, in visitTypeRecord()
H A DContinuationRecordBuilder.cpp71 CVType Type(&Prefix, sizeof(Prefix)); in begin()
149 CVType ContinuationRecordBuilder::createSegmentRecord( in createSegmentRecord()
170 return CVType(Data); in createSegmentRecord()
173 std::vector<CVType> ContinuationRecordBuilder::end(TypeIndex Index) { in end()
175 CVType Type(&Prefix, sizeof(Prefix)); in end()
224 std::vector<CVType> Types; in end()
H A DTypeRecordHelpers.cpp18 template <typename RecordT> static ClassOptions getUdtOptions(CVType CVT) { in getUdtOptions()
27 bool llvm::codeview::isUdtForwardRef(CVType CVT) { in isUdtForwardRef()
47 TypeIndex llvm::codeview::getModifiedType(const CVType &CVT) { in getModifiedType()
H A DTypeTableCollection.cpp38 CVType TypeTableCollection::getType(TypeIndex Index) { in getType()
40 return CVType(Records[Index.toArrayIndex()]); in getType()
63 bool TypeTableCollection::replaceType(TypeIndex &Index, CVType Data, in replaceType()
H A DTypeStreamMerger.cpp106 Error remapType(const CVType &Type);
135 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType,
167 Expected<bool> shouldRemapType(const CVType &Type);
348 return forEachCodeViewRecord<CVType>( in remapAllTypes()
349 Buffer, [this](const CVType &T) { return remapType(T); }); in remapAllTypes()
352 Error TypeStreamMerger::remapType(const CVType &Type) { in remapType()
389 TypeStreamMerger::remapIndices(const CVType &OriginalType, in remapIndices()
481 Expected<bool> TypeStreamMerger::shouldRemapType(const CVType &Type) { in shouldRemapType()
487 if (auto EC = TypeDeserializer::deserializeAs(const_cast<CVType &>(Type), in shouldRemapType()
H A DAppendingTypeTableBuilder.cpp45 CVType AppendingTypeTableBuilder::getType(TypeIndex Index){ in getType()
46 return CVType(SeenRecords[Index.toArrayIndex()]); in getType()
95 bool AppendingTypeTableBuilder::replaceType(TypeIndex &Index, CVType Data, in replaceType()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/CodeView/
H A DRandomAccessVisitorTest.cpp45 inline bool operator==(const CVType &R1, const CVType &R2) { in operator ==()
50 inline bool operator!=(const CVType &R1, const CVType &R2) { in operator !=()
83 std::vector<CVType> RawRecords;
165 std::vector<CVType> TypeVector;
167 VarStreamArray<CVType> TypeArray;
215 CVType T = Types.getType(TI); in TEST_F()
244 CVType T = Types.getType(TI); in TEST_F()
273 CVType T = Types.getType(TI); in TEST_F()
304 CVType T = Types.getType(TI); in TEST_F()
334 CVType T = Types.getType(TI); in TEST_F()
[all …]
/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_multi_level_pointer.pass.cpp78 typedef Tp const volatile* CVType; typedef
88 typedef const volatile Member (Class::*CVType);
99 typedef typename ThrowTypes::CVType CVType; in operator ()() typedef
104 run_catch_tests<CVType>(); in operator ()()
112 typedef typename CatchTypes::CVType CVType; in run_catch_tests() typedef
117 catch_pointer_test<ThrowTp, CVType>(); in run_catch_tests()
122 generate_tests_imp<ThrowTp, CVType, level-1>()(); in run_catch_tests()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DTpiHashing.cpp43 static Expected<uint32_t> getHashForUdt(const CVType &Rec) { in getHashForUdt()
45 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getHashForUdt()
52 static Expected<TagRecordHash> getTagRecordHashForUdt(const CVType &Rec) { in getTagRecordHashForUdt()
54 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getTagRecordHashForUdt()
78 static Expected<uint32_t> getSourceLineHash(const CVType &Rec) { in getSourceLineHash()
80 if (auto E = TypeDeserializer::deserializeAs(const_cast<CVType &>(Rec), in getSourceLineHash()
88 Expected<TagRecordHash> llvm::pdb::hashTagRecord(const codeview::CVType &Type) { in hashTagRecord()
105 Expected<uint32_t> llvm::pdb::hashTypeRecord(const CVType &Rec) { in hashTypeRecord()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp289 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
297 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
303 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
318 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
333 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
347 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
383 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
398 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
405 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
415 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
[all …]
H A DMinimalTypeDumper.h37 Error visitTypeBegin(codeview::CVType &Record,
39 Error visitTypeEnd(codeview::CVType &Record) override;
44 Error visitKnownRecord(codeview::CVType &CVR, \
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h42 template <typename T> static Error deserializeAs(CVType &CVT, T &Record) { in deserializeAs()
61 CVType CVT(Data); in deserializeAs()
67 Error visitTypeBegin(CVType &Record) override { in visitTypeBegin()
73 Error visitTypeBegin(CVType &Record, TypeIndex Index) override { in visitTypeBegin()
77 Error visitTypeEnd(CVType &Record) override { in visitTypeEnd()
85 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override { \
95 Error visitKnownRecordImpl(CVType &CVR, RecordType &Record) { in visitKnownRecordImpl()
115 CVType FieldList(&Pre, sizeof(Pre)); in FieldListDeserializer()
121 CVType FieldList(&Pre, sizeof(Pre)); in ~FieldListDeserializer()
H A DTypeVisitorCallbacks.h23 virtual Error visitUnknownType(CVType &Record) { return Error::success(); } in visitUnknownType()
31 virtual Error visitTypeBegin(CVType &Record) { return Error::success(); } in visitTypeBegin()
32 virtual Error visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
35 virtual Error visitTypeEnd(CVType &Record) { return Error::success(); } in visitTypeEnd()
50 virtual Error visitKnownRecord(CVType &CVR, Name##Record &Record) { \
H A DTypeDumpVisitor.h45 Error visitUnknownType(CVType &Record) override;
50 Error visitTypeBegin(CVType &Record) override;
51 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
52 Error visitTypeEnd(CVType &Record) override;
57 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
H A DTypeRecordMapping.h33 Error visitTypeBegin(CVType &Record) override;
34 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
35 Error visitTypeEnd(CVType &Record) override;
41 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
H A DTypeVisitorCallbackPipeline.h41 Error visitTypeBegin(CVType &Record) override { in visitTypeBegin()
49 Error visitTypeBegin(CVType &Record, TypeIndex Index) override { in visitTypeBegin()
57 Error visitTypeEnd(CVType &Record) override { in visitTypeEnd()
86 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override { \
99 template <typename T> Error visitKnownRecordImpl(CVType &CVR, T &Record) { in visitKnownRecordImpl()
H A DLazyRandomTypeCollection.h53 CVType Type;
72 Optional<CVType> tryGetType(TypeIndex Index);
74 CVType getType(TypeIndex Index) override;
81 bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) override;
H A DTypeRecordHelpers.h21 bool isUdtForwardRef(CVType CVT);
25 TypeIndex getModifiedType(const CVType &CVT);
H A DContinuationRecordBuilder.h38 CVType createSegmentRecord(uint32_t OffBegin, uint32_t OffEnd,
52 std::vector<CVType> end(TypeIndex Index);
H A DTypeTableCollection.h27 CVType getType(TypeIndex Index) override;
32 bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) override;
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.h41 static CVTagRecord create(llvm::codeview::CVType type);
130 bool IsForwardRefUdt(llvm::codeview::CVType cvt);
131 bool IsTagRecord(llvm::codeview::CVType cvt);
132 bool IsClassStructUnion(llvm::codeview::CVType cvt);
138 llvm::codeview::TypeIndex GetFieldListIndex(llvm::codeview::CVType cvt);
140 LookThroughModifierRecord(llvm::codeview::CVType modifier);
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.h26 template <> struct BinaryItemTraits<llvm::codeview::CVType> {
27 static size_t length(const codeview::CVType &Item) { return Item.length(); }
28 static ArrayRef<uint8_t> bytes(const codeview::CVType &Item) {

123