LLVM: lib/DebugInfo/PDB/Native/NativeTypeTypedef.cpp Source File (original) (raw)

4

5using namespace llvm;

8

13

15

24

26 return std::string(Record.Name);

27}

28

30 return Session.getSymbolCache().findSymbolByTypeIndex(Record.Type);

31}

NativeRawSymbol(NativeSession &PDBSession, PDB_SymType Tag, SymIndexId SymbolId)

void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override

std::string getName() const override

Definition NativeTypeTypedef.cpp:25

~NativeTypeTypedef() override

SymIndexId getTypeId() const override

Definition NativeTypeTypedef.cpp:29

NativeTypeTypedef(NativeSession &Session, SymIndexId Id, codeview::UDTSym Typedef)

Definition NativeTypeTypedef.cpp:9

void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override

Definition NativeTypeTypedef.cpp:16

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

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