LLVM: lib/DebugInfo/PDB/Native/NativePublicSymbol.cpp Source File (original) (raw)
1
2
3
4
5
6
7
8
10
13
14using namespace llvm;
17
21
23
32
34
36
38 return std::string(Sym.Name);
39}
40
42 return Session.getRVAFromSectOffset(Sym.Segment, Sym.Offset);
43}
44
46 return Session.getVAFromSectOffset(Sym.Segment, Sym.Offset);
47}
~NativePublicSymbol() override
uint32_t getAddressOffset() const override
Definition NativePublicSymbol.cpp:33
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
Definition NativePublicSymbol.cpp:24
uint64_t getVirtualAddress() const override
Definition NativePublicSymbol.cpp:45
uint32_t getAddressSection() const override
Definition NativePublicSymbol.cpp:35
NativePublicSymbol(NativeSession &Session, SymIndexId Id, const codeview::PublicSym32 &Sym)
Definition NativePublicSymbol.cpp:18
std::string getName() const override
Definition NativePublicSymbol.cpp:37
uint32_t getRelativeVirtualAddress() const override
Definition NativePublicSymbol.cpp:41
const codeview::PublicSym32 Sym
NativeRawSymbol(NativeSession &PDBSession, PDB_SymType Tag, SymIndexId SymbolId)
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields, PdbSymbolIdField RecurseIdFields) const override
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....
This is an optimization pass for GlobalISel generic memory operations.