36 std::unique_ptr<IPDBEnumSymbols>
82 const auto UnderlyingType =
84 return UnderlyingType ? UnderlyingType->getLength() : 0;
Error visitKnownRecord(codeview::CVType &CVR, codeview::EnumRecord &Record) override
void cantFail(Error Err, const char *Msg=nullptr)
Report a fatal error if Err is a failure value.
Compute iterated dominance frontiers using a linear time algorithm.
bool hasAssignmentOperator() const override
uint64_t getLength() const override
std::unique_ptr< IPDBEnumSymbols > findChildren(PDB_SymType Type) const override
std::unique_ptr< NativeRawSymbol > clone() const override
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
TypeRecordKind
Distinguishes individual records in .debug$T or .debug$P section or PDB type stream.
PDB_SymType getSymTag() const override
bool hasConstructor() const override
bool isPacked() const override
The instances of the Type class are immutable: once they are created, they are never changed...
std::unique_ptr< T > getConcreteSymbolById(uint32_t SymbolId) const
bool hasOverloadedOperator() const override
bool isNested() const override
Error visitTypeRecord(CVType &Record, TypeIndex Index, TypeVisitorCallbacks &Callbacks, VisitorDataSource Source=VDS_BytesPresent)
uint32_t getUnmodifiedTypeId() const override
uint32_t getClassParentId() const override
static ErrorSuccess success()
Create a success value.
bool isScoped() const override
std::string getName() const override
bool hasCastOperator() const override
Error visitKnownMember(codeview::CVMemberRecord &CVM, codeview::EnumeratorRecord &Record) override
StringRef getName() const
~NativeEnumSymbol() override
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
NativeEnumSymbol(NativeSession &Session, SymIndexId Id, const codeview::CVType &CV)
Lightweight error class with error context and mandatory checking.
SymIndexId findSymbolByTypeIndex(codeview::TypeIndex TI)
uint32_t getTypeId() const override