Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/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
[all...]
H A DTypeDumpVisitor.cpp171 Error TypeDumpVisitor::visitTypeBegin(CVType &Record) { in visitTypeBegin()
175 Error TypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
185 Error TypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
211 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
219 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, StringIdRecord &String) { in visitKnownRecord()
225 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, ArgListRecord &Args) { in visitKnownRecord()
236 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, StringListRecord &Strs) { in visitKnownRecord()
247 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, ClassRecord &Class) { in visitKnownRecord()
261 Error TypeDumpVisitor::visitKnownRecord(CVType &CVR, UnionRecord &Union) { in visitKnownRecord()
273 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
[all...]
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()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.h68 Error visitTypeBegin(CVType &Record) override;
69 Error visitTypeBegin(CVType &Record, TypeIndex TI) override;
74 Error visitKnownRecord(CVType &Record, BuildInfoRecord &Args) override;
75 Error visitKnownRecord(CVType &Record, ClassRecord &Class) override;
76 Error visitKnownRecord(CVType &Record, EnumRecord &Enum) override;
77 Error visitKnownRecord(CVType &Record, FuncIdRecord &Func) override;
78 Error visitKnownRecord(CVType &Record, ProcedureRecord &Proc) override;
79 Error visitKnownRecord(CVType &Record, StringIdRecord &String) override;
80 Error visitKnownRecord(CVType &Record, UdtSourceLineRecord &Line) override;
81 Error visitKnownRecord(CVType
[all...]
H A DLVCodeViewReader.h31 template <> struct BinaryItemTraits<codeview::CVType> {
32 static size_t length(const codeview::CVType &Item) { return Item.length(); }
33 static ArrayRef<uint8_t> bytes(const codeview::CVType &Item) {
90 std::unique_ptr<BinaryItemStream<CVType>> ItemStream;
92 std::vector<CVType> TypeArray;
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalTypeDumper.cpp226 Error MinimalTypeDumpVisitor::visitTypeBegin(CVType &Record, TypeIndex Index) { in visitTypeBegin()
263 Error MinimalTypeDumpVisitor::visitTypeEnd(CVType &Record) { in visitTypeEnd()
291 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
299 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
305 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
320 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
335 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
349 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, in visitKnownRecord()
362 Error MinimalTypeDumpVisitor::visitKnownRecord(CVType &CVR, EnumRecord &Enum) { in visitKnownRecord()
374 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, \
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp90 CVType CVReference = Types.getType(TI); in getRecordName()
93 const_cast<CVType &>(CVReference), Record)) in getRecordName()
491 Error LVTypeVisitor::visitTypeBegin(CVType &Record) { in visitTypeBegin()
495 Error LVTypeVisitor::visitTypeBegin(CVType &Record, TypeIndex TI) { in visitTypeBegin()
511 Error LVTypeVisitor::visitUnknownType(CVType &Record) { in visitUnknownType()
539 Error LVTypeVisitor::visitKnownRecord(CVType &Record, BuildInfoRecord &Args) { in visitKnownRecord()
571 Error LVTypeVisitor::visitKnownRecord(CVType &Record, ClassRecord &Class) { in visitKnownRecord()
589 Error LVTypeVisitor::visitKnownRecord(CVType &Record, EnumRecord &Enum) { in visitKnownRecord()
602 Error LVTypeVisitor::visitKnownRecord(CVType &Record, FuncIdRecord &Func) { in visitKnownRecord()
616 Error LVTypeVisitor::visitKnownRecord(CVType &Record, ProcedureRecord &Proc) { in visitKnownRecord()
[all …]
/freebsd/contrib/llvm-project/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