LLVM  3.7.0
PDBExtras.h
Go to the documentation of this file.
1 //===- PDBExtras.h - helper functions and classes for PDBs -------*- C++-*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLVM_DEBUGINFO_PDB_PDBEXTRAS_H
11 #define LLVM_DEBUGINFO_PDB_PDBEXTRAS_H
12 
13 #include "PDBTypes.h"
15 #include <unordered_map>
16 
17 namespace llvm {
18 typedef std::unordered_map<PDB_SymType, int> TagStats;
19 
26 raw_ostream &operator<<(raw_ostream &OS, const PDB_Checksum &Checksum);
27 raw_ostream &operator<<(raw_ostream &OS, const PDB_Lang &Lang);
32 
36 }
37 
38 #endif
Defines a 128-bit unique identifier.
Definition: PDBTypes.h:75
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.
Definition: PDBTypes.h:255
PDB_UdtType
These values correspond to the UdtKind enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/wcstk66t.aspx.
Definition: PDBTypes.h:336
PDB_LocType
These values correspond to the LocationType enumeration, and are documented here: https://msdn...
Definition: PDBTypes.h:307
The instances of the Type class are immutable: once they are created, they are never changed...
Definition: Type.h:45
PDB_RegisterId
Definition: PDBTypes.h:369
PDB_CallingConv
These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...
Definition: PDBTypes.h:202
PDB_Checksum
Specifies the hash algorithm that a source file from a PDB was hashed with.
Definition: PDBTypes.h:106
PDB_SymType
These values correspond to the SymTagEnum enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bkedss5f.aspx.
Definition: PDBTypes.h:270
PDB_ThunkOrdinal
These values correspond to the THUNK_ORDINAL enumeration, and are documented here: https://msdn...
Definition: PDBTypes.h:324
PDB_Lang
These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn.microsoft.com/en-us/library/bw3aekw6.aspx.
Definition: PDBTypes.h:233
raw_ostream & operator<<(raw_ostream &OS, const APInt &I)
Definition: APInt.h:1738
LLVM Value Representation.
Definition: Value.h:69
PDB_MemberAccess
Definition: PDBTypes.h:421
This class implements an extremely fast bulk output stream that can only output to a stream...
Definition: raw_ostream.h:38
PDB_VariantType
Definition: PDBTypes.h:442
std::unordered_map< PDB_SymType, int > TagStats
Definition: PDBExtras.h:18