LLVM: include/llvm/DebugInfo/PDB/PDBExtras.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9#ifndef LLVM_DEBUGINFO_PDB_PDBEXTRAS_H

10#define LLVM_DEBUGINFO_PDB_PDBEXTRAS_H

11

17#include

18#include <unordered_map>

19

20namespace llvm {

21

22namespace pdb {

23

24using TagStats = std::unordered_map<PDB_SymType, int>;

25

42

46

49

50template

52 OS << "\n";

54 OS << Name << ": " << Value;

55}

56

57}

58

59}

60

61#endif

block placement Basic Block Placement Stats

Function const char TargetMachine * Machine

StringRef - Represent a constant reference to a string, i.e.

LLVM Value Representation.

This class implements an extremely fast bulk output stream that can only output to a stream.

raw_ostream & indent(unsigned NumSpaces)

indent - Insert 'NumSpaces' spaces.

ThunkOrdinal

These values correspond to the THUNK_ORDINAL enumeration.

PDB_Checksum

Specifies the hash algorithm that a source file from a PDB was hashed with.

void dumpSymbolField(raw_ostream &OS, StringRef Name, T Value, int Indent)

Definition PDBExtras.h:51

PDB_BuiltinType

These values correspond to the Basictype enumeration, and are documented here: https://msdn....

PDB_UdtType

These values correspond to the UdtKind enumeration, and are documented here: https://msdn....

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....

raw_ostream & operator<<(LinePrinter &Printer, const T &Item)

PDB_DataKind

These values correspond to the DataKind enumeration, and are documented here: https://msdn....

LLVM_ABI raw_ostream & dumpPDBSourceCompression(raw_ostream &OS, uint32_t Compression)

codeview::SourceLanguage PDB_Lang

These values correspond to the CV_CFL_LANG enumeration, and are documented here: https://msdn....

std::unordered_map< PDB_SymType, int > TagStats

Definition PDBExtras.h:24

codeview::CallingConvention PDB_CallingConv

These values correspond to the CV_call_e enumeration, and are documented at the following locations: ...

This is an optimization pass for GlobalISel generic memory operations.

FunctionAddr VTableAddr uintptr_t uintptr_t Version