Go to the documentation of this file.
9 #ifndef LLVM_DEBUGINFO_PDB_PDBTYPES_H
10 #define LLVM_DEBUGINFO_PDB_PDBTYPES_H
450 delete[]
Value.String;
486 #define VARIANT_WIDTH(Enum, NumBits) \
487 case PDB_VariantType::Enum: \
504 assert(
false &&
"Variant::toAPSInt called on non-numeric type");
511 #define VARIANT_APSINT(Enum, NumBits, IsUnsigned) \
512 case PDB_VariantType::Enum: \
513 return APSInt(APInt(NumBits, Value.Enum), IsUnsigned);
527 assert(
false &&
"Variant::toAPSInt called on non-integral type");
532 #undef VARIANT_APSINT
546 assert(
false &&
"Variant::toAPFloat called on non-floating-point type");
551 #define VARIANT_EQUAL_CASE(Enum) \
552 case PDB_VariantType::Enum: \
553 return Value.Enum == Other.Value.Enum;
576 #undef VARIANT_EQUAL_CASE
583 delete[]
Value.String;
587 Other.Value.String !=
nullptr) {
588 Value.String =
new char[strlen(
Other.Value.String) + 1];
605 return std::hash<int>()(
static_cast<int>(
Arg));
611 #endif // LLVM_DEBUGINFO_PDB_PDBTYPES_H
IPDBSession defines an interface used to provide a context for querying debug information from a debu...
IPDBDataStream defines an interface used to represent a stream consisting of a name and a series of r...
This is an optimization pass for GlobalISel generic memory operations.
static const fltSemantics & IEEEsingle() LLVM_READNONE
unsigned getBitWidth() const
IPDBSourceFile defines an interface used to represent source files whose information are stored in th...
PDB_UdtType
These values correspond to the UdtKind enumeration, and are documented here: https://msdn....
PDB_LocType
These values correspond to the LocationType enumeration, and are documented here: https://msdn....
The instances of the Type class are immutable: once they are created, they are never changed.
PDB_MemoryType
These values correspond to the MemoryTypeEnum enumeration, and are documented here: https://msdn....
Variant(const Variant &Other)
PDB_StackFrameType
These values correspond to the StackFrameTypeEnum enumeration, and are documented here: https://msdn....
Holds functions to get, set or test bitfields.
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn....
amdgpu Simplify well known AMD library false FunctionCallee Value * Arg
static APFloat getZero(const fltSemantics &Sem, bool Negative=false)
Factory for Positive and Negative Zero.
result_type operator()(const argument_type &Arg) const
A class that wrap the SHA1 algorithm.
PDB_DataKind
These values correspond to the DataKind enumeration, and are documented here: https://msdn....
#define VARIANT_EQUAL_CASE(Enum)
APFloat toAPFloat() const
bool isIntegralType() const
Variant & operator=(const Variant &Other)
@ Undname_NoIdentCharCheck
PDBSymbol defines the base of the inheritance hierarchy for concrete symbol types (e....
An arbitrary precision integer that knows its signedness.
PDB_NameSearchFlags
Defines flags used for enumerating child symbols.
PDB_ReaderType
Specifies which PDB reader implementation is to be used.
This is an important base class in LLVM.
PDB_TableType
An enumeration indicating the type of data contained in this table.
PDB_UndnameFlags
These values correspond to the flags that can be combined to control the return of an undecorated nam...
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
#define VARIANT_WIDTH(Enum, NumBits)
SourceLanguage
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn....
PDB_BuiltinType
These values correspond to the Basictype enumeration, and are documented here: https://msdn....
#define VARIANT_APSINT(Enum, NumBits, IsUnsigned)
IPDBSectionContrib defines an interface used to represent section contributions whose information are...
@ Undname_NoLeadingUnderscores
IPDBInjectedSource defines an interface used to represent source files which were injected directly i...
union llvm::pdb::Variant::@260 Value
PDB_Checksum
Specifies the hash algorithm that a source file from a PDB was hashed with.
CPUType
These values correspond to the CV_CPU_TYPE_e enumeration, and are documented here: https://msdn....
bool operator!=(const Variant &Other) const
CallingConvention
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
@ Undname_NoReturnUDTModel
bool operator==(const Variant &Other) const
LLVM Value Representation.
Optional< std::vector< StOtherPiece > > Other
PDBSymbolCustom represents symbols that are compiler-specific and do not fit anywhere else in the lex...