Lines Matching refs:NativeSession

65 NativeSession::NativeSession(std::unique_ptr<PDBFile> PdbFile,  in NativeSession()  function in NativeSession
70 NativeSession::~NativeSession() = default;
72 Error NativeSession::createFromPdb(std::unique_ptr<MemoryBuffer> Buffer, in createFromPdb()
86 std::make_unique<NativeSession>(std::move(File), std::move(Allocator)); in createFromPdb()
119 Error NativeSession::createFromPdbPath(StringRef PdbPath, in createFromPdbPath()
126 Session = std::make_unique<NativeSession>(std::move(PdbFile.get()), in createFromPdbPath()
150 Error NativeSession::createFromExe(StringRef ExePath, in createFromExe()
166 Session = std::make_unique<NativeSession>(std::move(File.get()), in createFromExe()
173 NativeSession::searchForPdb(const PdbSearchOptions &Opts) { in searchForPdb()
204 uint64_t NativeSession::getLoadAddress() const { return LoadAddress; } in getLoadAddress()
206 bool NativeSession::setLoadAddress(uint64_t Address) { in setLoadAddress()
211 std::unique_ptr<PDBSymbolExe> NativeSession::getGlobalScope() { in getGlobalScope()
216 NativeSession::getSymbolById(SymIndexId SymbolId) const { in getSymbolById()
220 bool NativeSession::addressForVA(uint64_t VA, uint32_t &Section, in addressForVA()
226 bool NativeSession::addressForRVA(uint32_t RVA, uint32_t &Section, in addressForRVA()
249 NativeSession::findSymbolByAddress(uint64_t Address, PDB_SymType Type) { in findSymbolByAddress()
256 std::unique_ptr<PDBSymbol> NativeSession::findSymbolByRVA(uint32_t RVA, in findSymbolByRVA()
265 NativeSession::findSymbolBySectOffset(uint32_t Sect, uint32_t Offset, in findSymbolBySectOffset()
274 NativeSession::findLineNumbers(const PDBSymbolCompiland &Compiland, in findLineNumbers()
280 NativeSession::findLineNumbersByAddress(uint64_t Address, in findLineNumbersByAddress()
286 NativeSession::findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const { in findLineNumbersByRVA()
291 NativeSession::findLineNumbersBySectOffset(uint32_t Section, uint32_t Offset, in findLineNumbersBySectOffset()
298 NativeSession::findSourceFiles(const PDBSymbolCompiland *Compiland, in findSourceFiles()
305 NativeSession::findOneSourceFile(const PDBSymbolCompiland *Compiland, in findOneSourceFile()
312 NativeSession::findCompilandsForSourceFile(StringRef Pattern, in findCompilandsForSourceFile()
318 NativeSession::findOneCompilandForSourceFile(StringRef Pattern, in findOneCompilandForSourceFile()
323 std::unique_ptr<IPDBEnumSourceFiles> NativeSession::getAllSourceFiles() const { in getAllSourceFiles()
327 std::unique_ptr<IPDBEnumSourceFiles> NativeSession::getSourceFilesForCompiland( in getSourceFilesForCompiland()
333 NativeSession::getSourceFileById(uint32_t FileId) const { in getSourceFileById()
337 std::unique_ptr<IPDBEnumDataStreams> NativeSession::getDebugStreams() const { in getDebugStreams()
341 std::unique_ptr<IPDBEnumTables> NativeSession::getEnumTables() const { in getEnumTables()
346 NativeSession::getInjectedSources() const { in getInjectedSources()
361 NativeSession::getSectionContribs() const { in getSectionContribs()
366 NativeSession::getFrameData() const { in getFrameData()
370 void NativeSession::initializeExeSymbol() { in initializeExeSymbol()
375 NativeExeSymbol &NativeSession::getNativeGlobalScope() const { in getNativeGlobalScope()
376 const_cast<NativeSession &>(*this).initializeExeSymbol(); in getNativeGlobalScope()
381 uint32_t NativeSession::getRVAFromSectOffset(uint32_t Section, in getRVAFromSectOffset()
397 uint64_t NativeSession::getVAFromSectOffset(uint32_t Section, in getVAFromSectOffset()
402 bool NativeSession::moduleIndexForVA(uint64_t VA, uint16_t &ModuleIndex) const { in moduleIndexForVA()
411 bool NativeSession::moduleIndexForSectOffset(uint32_t Sect, uint32_t Offset, in moduleIndexForSectOffset()
421 void NativeSession::parseSectionContribs() { in parseSectionContribs()
427 NativeSession &Session; in parseSectionContribs()
431 Visitor(NativeSession &Session, IMap &AddrMap) in parseSectionContribs()
453 NativeSession::getModuleDebugStream(uint32_t Index) const { in getModuleDebugStream()