55 return std::string(
Record.Name);
79 switch (
BT.getBuiltinType()) {
84 int64_t
N =
Record.Value.getSExtValue();
85 switch (
BT.getLength()) {
87 return Variant{
static_cast<int8_t
>(
N)};
89 return Variant{
static_cast<int16_t
>(
N)};
91 return Variant{
static_cast<int32_t
>(
N)};
93 return Variant{
static_cast<int64_t
>(
N)};
101 switch (
BT.getLength()) {
103 return Variant{
static_cast<uint8_t
>(U)};
116 return Variant{
static_cast<bool>(U)};
119 assert(
false &&
"Invalid enumeration type");
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
SymIndexId getSymIndexId() const override
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
PDB_LocType getLocationType() const override
bool isVolatileType() const override
SymIndexId getClassParentId() const override
const NativeTypeEnum & Parent
bool isUnalignedType() const override
NativeSymbolEnumerator(NativeSession &Session, SymIndexId Id, const NativeTypeEnum &Parent, codeview::EnumeratorRecord Record)
std::string getName() const override
Variant getValue() const override
SymIndexId getLexicalParentId() const override
SymIndexId getTypeId() const override
bool isConstType() const override
~NativeSymbolEnumerator() override
PDB_DataKind getDataKind() const override
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
SymIndexId getTypeId() const override
const NativeTypeBuiltin & getUnderlyingBuiltinType() const
This class implements an extremely fast bulk output stream that can only output to a stream.
void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent)
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
PDB_LocType
These values correspond to the LocationType enumeration, and are documented here: https://msdn....
PDB_DataKind
These values correspond to the DataKind enumeration, and are documented here: https://msdn....
void dumpSymbolIdField(raw_ostream &OS, StringRef Name, SymIndexId Value, int Indent, const IPDBSession &Session, PdbSymbolIdField FieldId, PdbSymbolIdField ShowFlags, PdbSymbolIdField RecurseFlags)
This is an optimization pass for GlobalISel generic memory operations.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
Implement std::hash so that hash_code can be used in STL containers.