LLVM 19.0.0git
Go to the documentation of this file.
6using namespace llvm;
7using namespace llvm::pdb;
9// Create a pointer record for a non-simple type.
13 : NativeRawSymbol(Session, PDB_SymType::VTableShape, Id), TI(TI),
14 Record(std::move(SR)) {}
19 PdbSymbolIdField ShowIdFields,
20 PdbSymbolIdField RecurseIdFields) const {
21 NativeRawSymbol::dump(OS, Indent, ShowIdFields, RecurseIdFields);
23 dumpSymbolIdField(OS, "lexicalParentId", 0, Indent, Session,
25 RecurseIdFields);
26 dumpSymbolField(OS, "count", getCount(), Indent);
27 dumpSymbolField(OS, "constType", isConstType(), Indent);
28 dumpSymbolField(OS, "unalignedType", isUnalignedType(), Indent);
29 dumpSymbolField(OS, "volatileType", isVolatileType(), Indent);
32bool NativeTypeVTShape::isConstType() const { return false; }
34bool NativeTypeVTShape::isVolatileType() const { return false; }
36bool NativeTypeVTShape::isUnalignedType() const { return false; }
38uint32_t NativeTypeVTShape::getCount() const { return Record.Slots.size(); }
raw_pwrite_stream & OS
A 32-bit type reference.
Definition: TypeIndex.h:96
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
bool isUnalignedType() const override
bool isConstType() const override
NativeTypeVTShape(NativeSession &Session, SymIndexId Id, codeview::TypeIndex TI, codeview::VFTableShapeRecord SR)
bool isVolatileType() const override
uint32_t getCount() const override
This class implements an extremely fast bulk output stream that can only output to a stream.
Definition: raw_ostream.h:52
void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent)
Definition: PDBExtras.h:47
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
Definition: PDBTypes.h:243
void dumpSymbolIdField(raw_ostream &OS, StringRef Name, SymIndexId Value, int Indent, const IPDBSession &Session, PdbSymbolIdField FieldId, PdbSymbolIdField ShowFlags, PdbSymbolIdField RecurseFlags)
Definition: PDBSymbol.cpp:202
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Definition: STLExtras.h:1849
Implement std::hash so that hash_code can be used in STL containers.
Definition: BitVector.h:858