16 #define CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, Str, Stream) \
21 #define CASE_OUTPUT_ENUM_CLASS_NAME(Class, Value, Stream) \
22 CASE_OUTPUT_ENUM_CLASS_STR(Class, Value, #Value, Stream)
144 OS << static_cast<int>(
Reg);
270 static const char *
Lookup =
"0123456789ABCDEF";
272 static_assert(
sizeof(
PDB_UniqueId) == 16,
"Expected 16-byte GUID");
275 for (
int i=0; i < 16;) {
276 uint8_t Byte = GuidBytes[i];
277 uint8_t HighNibble = (Byte >> 4) & 0xF;
278 uint8_t LowNibble = Byte & 0xF;
279 OS << Lookup[HighNibble] << Lookup[LowNibble];
281 if (i>=4 && i<=10 && i%2==0)
289 switch (Value.
Type) {
291 OS << (Value.
Bool ?
"true" :
"false");
306 OS << static_cast<int>(Value.
Int8);
321 OS << static_cast<unsigned>(Value.
UInt8);
335 for (
auto Tag : Stats) {
336 OS <<
Tag.first <<
":" <<
Tag.second <<
" ";
Defines a 128-bit unique identifier.
Reg
All possible values of the reg field in the ModR/M byte.
block placement Basic Block Placement Stats
PDB_DataKind
These values correspond to the DataKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/b2x2t313.aspx.
ArrayType - Class to represent array types.
PDB_UdtType
These values correspond to the UdtKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/wcstk66t.aspx.
PointerType - Class to represent pointers.
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...
This is an important base class in LLVM.
static int Lookup(const TableEntry *Table, unsigned N, unsigned Opcode)
PDB_CallingConv
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
PDB_Checksum
Specifies the hash algorithm that a source file from a PDB was hashed with.
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
PDB_ThunkOrdinal
These values correspond to the THUNK_ORDINAL enumeration, and are documented here: https://msdn...
PDB_Lang
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bw3aekw6.aspx.
raw_ostream & operator<<(raw_ostream &OS, const APInt &I)
LLVM Value Representation.
This class implements an extremely fast bulk output stream that can only output to a stream...
std::unordered_map< PDB_SymType, int > TagStats