LLVM
8.0.1
|
#include "llvm/DebugInfo/PDB/PDBSymbolData.h"
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::pdb::PDBSymbol | |
static std::unique_ptr< PDBSymbol > | create (const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > RawSymbol) |
static std::unique_ptr< PDBSymbol > | create (const IPDBSession &PDBSession, IPDBRawSymbol &RawSymbol) |
template<typename ConcreteT > | |
static std::unique_ptr< ConcreteT > | createAs (const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > RawSymbol) |
template<typename ConcreteT > | |
static std::unique_ptr< ConcreteT > | createAs (const IPDBSession &PDBSession, IPDBRawSymbol &RawSymbol) |
Protected Member Functions inherited from llvm::pdb::PDBSymbol | |
PDBSymbol (const IPDBSession &PDBSession) | |
PDBSymbol (PDBSymbol &&Other) | |
std::unique_ptr< PDBSymbol > | getSymbolByIdHelper (uint32_t Id) const |
template<typename ConcreteType > | |
std::unique_ptr< ConcreteType > | getConcreteSymbolByIdHelper (uint32_t Id) const |
Protected Attributes inherited from llvm::pdb::PDBSymbol | |
const IPDBSession & | Session |
std::unique_ptr< IPDBRawSymbol > | OwnedRawSymbol |
IPDBRawSymbol * | RawSymbol = nullptr |
Definition at line 23 of file PDBSymbolData.h.
|
overridevirtual |
Dumps the contents of a symbol a raw_ostream.
By default this will just call dump() on the underlying RawSymbol, which allows us to discover unknown properties, but individual implementations of PDBSymbol may override the behavior to only dump known fields.
Implements llvm::pdb::PDBSymbol.
Definition at line 20 of file PDBSymbolData.cpp.
References llvm::pdb::PDBSymDumper::dump().
uint32_t PDBSymbolData::getCompilandId | ( | ) | const |
Definition at line 35 of file PDBSymbolData.cpp.
References llvm::pdb::IPDBSession::addressForRVA(), llvm::pdb::Compiland, llvm::pdb::Exe, llvm::pdb::IPDBRawSymbol::getAddressOffset(), llvm::pdb::IPDBRawSymbol::getAddressSection(), llvm::pdb::IPDBRawSymbol::getLexicalParentId(), getLineNumbers(), llvm::pdb::IPDBRawSymbol::getRelativeVirtualAddress(), llvm::pdb::IPDBSession::getSectionContribs(), llvm::pdb::IPDBSession::getSymbolById(), llvm::pdb::PDBSymbol::RawSymbol, llvm::ARMBuildAttrs::Section, and llvm::pdb::PDBSymbol::Session.
std::unique_ptr< IPDBEnumLineNumbers > PDBSymbolData::getLineNumbers | ( | ) | const |
Definition at line 22 of file PDBSymbolData.cpp.
References llvm::pdb::IPDBSession::findLineNumbersByRVA(), llvm::pdb::IPDBSession::findLineNumbersBySectOffset(), llvm::pdb::IPDBRawSymbol::getAddressOffset(), llvm::pdb::IPDBRawSymbol::getAddressSection(), llvm::pdb::IPDBRawSymbol::getLength(), llvm::pdb::IPDBRawSymbol::getRelativeVirtualAddress(), llvm::pdb::PDBSymbol::RawSymbol, llvm::ARMBuildAttrs::Section, and llvm::pdb::PDBSymbol::Session.
Referenced by getCompilandId().