Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp42 Error visitTypeBegin(CVType &Record) override;
43 Error visitTypeBegin(CVType &Record, TypeIndex Index) override;
44 Error visitTypeEnd(CVType &Record) override;
47 Error visitKnownRecord(CVType &CVR, Name##Record &Record) override;
54 Error TypeNameComputer::visitTypeBegin(CVType &Record) { in visitTypeBegin()
59 Error TypeNameComputer::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
66 Error TypeNameComputer::visitTypeEnd(CVType &CVR) { return Error::success(); } in visitTypeEnd()
68 Error TypeNameComputer::visitKnownRecord(CVType &CVR, in visitKnownRecord()
80 Error TypeNameComputer::visitKnownRecord(CVType &CVR, ArgListRecord &Args) { in visitKnownRecord()
96 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()
210 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
218 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, StringIdRecord &String) { in visitKnownRecord()
224 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, ArgListRecord &Args) { in visitKnownRecord()
235 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, StringListRecord &Strs) { in visitKnownRecord()
246 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, ClassRecord &Class) { in visitKnownRecord()
260 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, UnionRecord &Union) { in visitKnownRecord()
272 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, EnumRecord &Enum) { in visitKnownRecord()
[all …]
H A DTypeRecordMapping.cpp232 Error TypeRecordMapping::visitTypeBegin(CVType &CVR) { in visitTypeBegin()
257 Error TypeRecordMapping::visitTypeBegin(CVType &CVR, TypeIndex Index) { in visitTypeBegin()
264 Error TypeRecordMapping::visitTypeEnd(CVType &Record) { in visitTypeEnd()
314 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, ModifierRecord &Record) { in visitKnownRecord()
323 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
339 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
358 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, ArgListRecord &Record) { in visitKnownRecord()
368 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, in visitKnownRecord()
380 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, PointerRecord &Record) { in visitKnownRecord()
431 Error TypeRecordMapping::visitKnownRecord(CVType &CVR, ArrayRecord &Record) { 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 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()
162 template <typename RecordT> static uint64_t getUdtSize(CVType CVT) { in getUdtSize()
171 uint64_t llvm::codeview::getSizeInBytesForTypeRecord(CVType CVT) { in getSizeInBytesForTypeRecord()
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 DTypeStreamMerger.cpp107 Error remapType(const CVType &Type);
136 ArrayRef<uint8_t> remapIndices(const CVType &OriginalType,
168 Expected<bool> shouldRemapType(const CVType &Type);
347 return forEachCodeViewRecord<CVType>( in remapAllTypes()
348 Buffer, [this](const CVType &T) { return remapType(T); }); in remapAllTypes()
351 Error TypeStreamMerger::remapType(const CVType &Type) { in remapType()
388 TypeStreamMerger::remapIndices(const CVType &OriginalType, in remapIndices()
480 Expected<bool> TypeStreamMerger::shouldRemapType(const CVType &Type) { in shouldRemapType()
486 if (auto EC = TypeDeserializer::deserializeAs(const_cast<CVType &>(Type), in shouldRemapType()
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 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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp224 Error MinimalTypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
261 Error MinimalTypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
289 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()
360 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, EnumRecord &Enum) { in visitKnownRecord()
372 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, ArrayRecord &AT) { 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, \
/openbsd-src/gnu/llvm/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 DTypeRecordHelpers.h21 bool isUdtForwardRef(CVType CVT);
25 TypeIndex getModifiedType(const CVType &CVT);
46 inline bool isAggregate(CVType CVT) { in isAggregate()
63 uint64_t getSizeInBytesForTypeRecord(CVType CVT);
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.h52 CVType Type;
71 std::optional<CVType> tryGetType(TypeIndex Index);
73 CVType getType(TypeIndex Index) override;
80 bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) override;
H A DContinuationRecordBuilder.h37 CVType createSegmentRecord(uint32_t OffBegin, uint32_t OffEnd,
51 std::vector<CVType> end(TypeIndex Index);
H A DTypeIndexDiscovery.h28 void discoverTypeIndices(const CVType &Type,
30 void discoverTypeIndices(const CVType &Type,
H A DTypeTableCollection.h27 CVType getType(TypeIndex Index) override;
32 bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) override;
H A DTypeCollection.h27 virtual CVType getType(TypeIndex Index) = 0;
32 virtual bool replaceType(TypeIndex &Index, CVType Data, bool Stabilize) = 0;
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.h40 static CVTagRecord create(llvm::codeview::CVType type);
128 bool IsForwardRefUdt(llvm::codeview::CVType cvt);
129 bool IsTagRecord(llvm::codeview::CVType cvt);
130 bool IsClassStructUnion(llvm::codeview::CVType cvt);
136 llvm::codeview::TypeIndex GetFieldListIndex(llvm::codeview::CVType cvt);
138 LookThroughModifierRecord(llvm::codeview::CVType modifier);
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DTpiStreamBuilder.h25 template <> struct BinaryItemTraits<llvm::codeview::CVType> {
26 static size_t length(const codeview::CVType &Item) { return Item.length(); }
27 static ArrayRef<uint8_t> bytes(const codeview::CVType &Item) {

123