LLVM: llvm::pdb::NativeSession Class Reference (original) (raw)
#include "[llvm/DebugInfo/PDB/Native/NativeSession.h](NativeSession%5F8h%5Fsource.html)"
| Public Member Functions |
|
|
NativeSession (std::unique_ptr< PDBFile > PdbFile, std::unique_ptr< BumpPtrAllocator > Allocator) |
|
~NativeSession () override |
| uint64_t |
getLoadAddress () const override |
| bool |
setLoadAddress (uint64_t Address) override |
| std::unique_ptr< PDBSymbolExe > |
getGlobalScope () override |
| std::unique_ptr< PDBSymbol > |
getSymbolById (SymIndexId SymbolId) const override |
| bool |
addressForVA (uint64_t VA, uint32_t &Section, uint32_t &Offset) const override |
| bool |
addressForRVA (uint32_t RVA, uint32_t &Section, uint32_t &Offset) const override |
| std::unique_ptr< PDBSymbol > |
findSymbolByAddress (uint64_t Address, PDB_SymType Type) override |
| std::unique_ptr< PDBSymbol > |
findSymbolByRVA (uint32_t RVA, PDB_SymType Type) override |
| std::unique_ptr< PDBSymbol > |
findSymbolBySectOffset (uint32_t Sect, uint32_t Offset, PDB_SymType Type) override |
| std::unique_ptr< IPDBEnumLineNumbers > |
findLineNumbers (const PDBSymbolCompiland &Compiland, const IPDBSourceFile &File) const override |
| std::unique_ptr< IPDBEnumLineNumbers > |
findLineNumbersByAddress (uint64_t Address, uint32_t Length) const override |
| std::unique_ptr< IPDBEnumLineNumbers > |
findLineNumbersByRVA (uint32_t RVA, uint32_t Length) const override |
| std::unique_ptr< IPDBEnumLineNumbers > |
findLineNumbersBySectOffset (uint32_t Section, uint32_t Offset, uint32_t Length) const override |
| std::unique_ptr< IPDBEnumSourceFiles > |
findSourceFiles (const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override |
| std::unique_ptr< IPDBSourceFile > |
findOneSourceFile (const PDBSymbolCompiland *Compiland, llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override |
| std::unique_ptr< IPDBEnumChildren< PDBSymbolCompiland > > |
findCompilandsForSourceFile (llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override |
| std::unique_ptr< PDBSymbolCompiland > |
findOneCompilandForSourceFile (llvm::StringRef Pattern, PDB_NameSearchFlags Flags) const override |
| std::unique_ptr< IPDBEnumSourceFiles > |
getAllSourceFiles () const override |
| std::unique_ptr< IPDBEnumSourceFiles > |
getSourceFilesForCompiland (const PDBSymbolCompiland &Compiland) const override |
| std::unique_ptr< IPDBSourceFile > |
getSourceFileById (uint32_t FileId) const override |
| std::unique_ptr< IPDBEnumDataStreams > |
getDebugStreams () const override |
| std::unique_ptr< IPDBEnumTables > |
getEnumTables () const override |
| std::unique_ptr< IPDBEnumInjectedSources > |
getInjectedSources () const override |
| std::unique_ptr< IPDBEnumSectionContribs > |
getSectionContribs () const override |
| std::unique_ptr< IPDBEnumFrameData > |
getFrameData () const override |
| PDBFile & |
getPDBFile () |
| const PDBFile & |
getPDBFile () const |
| NativeExeSymbol & |
getNativeGlobalScope () const |
| SymbolCache & |
getSymbolCache () |
| const SymbolCache & |
getSymbolCache () const |
| uint32_t |
getRVAFromSectOffset (uint32_t Section, uint32_t Offset) const |
| uint64_t |
getVAFromSectOffset (uint32_t Section, uint32_t Offset) const |
| bool |
moduleIndexForVA (uint64_t VA, uint16_t &ModuleIndex) const |
| bool |
moduleIndexForSectOffset (uint32_t Sect, uint32_t Offset, uint16_t &ModuleIndex) const |
| Expected< ModuleDebugStreamRef > |
getModuleDebugStream (uint32_t Index) const |
| Public Member Functions inherited from llvm::pdb::IPDBSession |
|
| virtual |
~IPDBSession () |
| template<typename T> |
|
| std::unique_ptr< T > |
getConcreteSymbolById (SymIndexId SymbolId) const |
Definition at line 33 of file NativeSession.h.
◆ ~NativeSession()
| NativeSession::~NativeSession ( ) |
overridedefault |
References llvm::pdb::Address, addressForRVA(), addressForVA(), llvm::pdb::Compiland, createFromExe(), createFromPdb(), createFromPdbPath(), findCompilandsForSourceFile(), findLineNumbers(), findLineNumbersByAddress(), findLineNumbersByRVA(), findLineNumbersBySectOffset(), findOneCompilandForSourceFile(), findOneSourceFile(), findSourceFiles(), findSymbolByAddress(), findSymbolByRVA(), findSymbolBySectOffset(), getAllSourceFiles(), getDebugStreams(), getEnumTables(), getFrameData(), getGlobalScope(), getInjectedSources(), getLoadAddress(), getSectionContribs(), getSourceFileById(), getSourceFilesForCompiland(), getSymbolById(), llvm::Length, llvm::pdb::Offset, llvm::pdb::Path, searchForPdb(), setLoadAddress(), and llvm::pdb::Type.
◆ addressForRVA()
◆ addressForVA()
◆ createFromExe()
◆ createFromPdb()
◆ createFromPdbPath()
◆ findCompilandsForSourceFile()
◆ findLineNumbers()
◆ findLineNumbersByAddress()
◆ findLineNumbersByRVA()
◆ findLineNumbersBySectOffset()
◆ findOneCompilandForSourceFile()
◆ findOneSourceFile()
◆ findSourceFiles()
◆ findSymbolByAddress()
◆ findSymbolByRVA()
◆ findSymbolBySectOffset()
◆ getAllSourceFiles()
| std::unique_ptr< IPDBEnumSourceFiles > NativeSession::getAllSourceFiles ( ) const |
overridevirtual |
◆ getDebugStreams()
| std::unique_ptr< IPDBEnumDataStreams > NativeSession::getDebugStreams ( ) const |
overridevirtual |
◆ getEnumTables()
| std::unique_ptr< IPDBEnumTables > NativeSession::getEnumTables ( ) const |
overridevirtual |
◆ getFrameData()
| std::unique_ptr< IPDBEnumFrameData > NativeSession::getFrameData ( ) const |
overridevirtual |
◆ getGlobalScope()
| std::unique_ptr< PDBSymbolExe > NativeSession::getGlobalScope ( ) |
overridevirtual |
◆ getInjectedSources()
◆ getLoadAddress()
| uint64_t NativeSession::getLoadAddress ( ) const |
overridevirtual |
◆ getModuleDebugStream()
◆ getNativeGlobalScope()
◆ getPDBFile() [1/2]
| PDBFile & llvm::pdb::NativeSession::getPDBFile ( ) |
inline |
◆ getPDBFile() [2/2]
| const PDBFile & llvm::pdb::NativeSession::getPDBFile ( ) const |
inline |
◆ getRVAFromSectOffset()
◆ getSectionContribs()
◆ getSourceFileById()
◆ getSourceFilesForCompiland()
◆ getSymbolById()
| std::unique_ptr< PDBSymbol > NativeSession::getSymbolById ( SymIndexId SymbolId) const |
overridevirtual |
◆ getSymbolCache() [1/2]
| SymbolCache & llvm::pdb::NativeSession::getSymbolCache ( ) |
inline |
◆ getSymbolCache() [2/2]
◆ getVAFromSectOffset()
◆ moduleIndexForSectOffset()
◆ moduleIndexForVA()
◆ searchForPdb()
| Expected< std::string > NativeSession::searchForPdb ( const PdbSearchOptions & Opts) |
static |
Definition at line 181 of file NativeSession.cpp.
References llvm::sys::path::append(), llvm::consumeError(), llvm::sys::path::filename(), llvm::Expected< T >::get(), getPdbPathFromExe(), loadPdbFile(), llvm::make_error(), llvm::sys::path::posix, llvm::sys::path::remove_filename(), llvm::StringRef::starts_with(), llvm::Expected< T >::takeError(), and llvm::sys::path::windows.
Referenced by llvm::pdb::loadDataForEXE(), searchForExe(), and ~NativeSession().
◆ setLoadAddress()
| bool NativeSession::setLoadAddress ( uint64_t Address) |
overridevirtual |
The documentation for this class was generated from the following files: