20 NativeSymbolEnumerator::NativeSymbolEnumerator(
24 Record(
std::move(Record)) {}
83 int64_t
N =
Record.Value.getSExtValue();
86 return Variant{
static_cast<int8_t
>(
N)};
88 return Variant{
static_cast<int16_t
>(
N)};
90 return Variant{
static_cast<int32_t
>(
N)};
92 return Variant{
static_cast<int64_t
>(
N)};
99 uint64_t U =
Record.Value.getZExtValue();
102 return Variant{
static_cast<uint8_t
>(U)};
104 return Variant{
static_cast<uint16_t
>(U)};
108 return Variant{
static_cast<uint64_t
>(U)};
114 uint64_t U =
Record.Value.getZExtValue();
115 return Variant{
static_cast<bool>(U)};
118 assert(
false &&
"Invalid enumeration type");
~NativeSymbolEnumerator() override
bool isConstType() const override
This class represents lattice values for constants.
PDB_LocType getLocationType() const override
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
const NativeTypeBuiltin & getUnderlyingBuiltinType() const
bool isUnalignedType() const override
SymIndexId getTypeId() const override
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
SymIndexId getSymIndexId() const override
SymIndexId getLexicalParentId() const override
PDB_DataKind
These values correspond to the DataKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/b2x2t313.aspx.
void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent)
uint64_t getLength() const override
void dumpSymbolIdField(raw_ostream &OS, StringRef Name, SymIndexId Value, int Indent, const IPDBSession &Session, PdbSymbolIdField FieldId, PdbSymbolIdField ShowFlags, PdbSymbolIdField RecurseFlags)
PDB_LocType
These values correspond to the LocationType enumeration, and are documented here: https://msdn...
PDB_BuiltinType getBuiltinType() const override
Variant getValue() const override
bool isVolatileType() const override
SymIndexId getClassParentId() const override
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
std::string getName() const override
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
const NativeTypeEnum & Parent
PDB_DataKind getDataKind() const override
This class implements an extremely fast bulk output stream that can only output to a stream...
SymIndexId getTypeId() const override