Lines Matching refs:Session
94 DIASession::DIASession(CComPtr<IDiaSession> DiaSession) : Session(DiaSession) {} in DIASession()
97 std::unique_ptr<IPDBSession> &Session) { in createFromPdb() argument
118 Session.reset(new DIASession(DiaSession)); in createFromPdb()
123 std::unique_ptr<IPDBSession> &Session) { in createFromExe() argument
143 Session.reset(new DIASession(DiaSession)); in createFromExe()
149 bool success = (S_OK == Session->get_loadAddress(&LoadAddress)); in getLoadAddress()
154 return (S_OK == Session->put_loadAddress(Address)); in setLoadAddress()
159 if (S_OK != Session->get_globalScope(&GlobalScope)) in getGlobalScope()
172 if (S_OK == Session->addressForVA(VA, &ArgSection, &ArgOffset)) { in addressForVA()
183 if (S_OK == Session->addressForRVA(RVA, &ArgSection, &ArgOffset)) { in addressForRVA()
194 if (S_OK != Session->symbolById(SymbolId, &LocatedSymbol)) in getSymbolById()
206 if (S_OK != Session->findSymbolByVA(Address, EnumVal, &Symbol)) { in findSymbolByAddress()
208 if (S_OK != Session->get_loadAddress(&LoadAddr)) in findSymbolByAddress()
211 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByAddress()
223 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByRVA()
236 if (S_OK != Session->findSymbolByAddr(Sect, Offset, EnumVal, &Symbol)) in findSymbolBySectOffset()
251 if (S_OK != Session->findLines(RawCompiland.getDiaSymbol(), in findLineNumbers()
261 if (S_OK != Session->findLinesByVA(Address, Length, &LineNumbers)) { in findLineNumbersByAddress()
263 if (S_OK != Session->get_loadAddress(&LoadAddr)) in findLineNumbersByAddress()
266 if (S_OK != Session->findLinesByRVA(RVA, Length, &LineNumbers)) in findLineNumbersByAddress()
275 if (S_OK != Session->findLinesByRVA(RVA, Length, &LineNumbers)) in findLineNumbersByRVA()
285 if (S_OK != Session->findLinesByAddr(Section, Offset, Length, &LineNumbers)) in findLineNumbersBySectOffset()
308 Session->findFile(DiaCompiland, Utf16Pattern.m_str, Flags, &SourceFiles)) in findSourceFiles()
343 if (S_OK != Session->findFile(nullptr, nullptr, nsNone, &Files)) in getAllSourceFiles()
356 Session->findFile(RawSymbol.getDiaSymbol(), nullptr, nsNone, &Files)) in getSourceFilesForCompiland()
365 if (S_OK != Session->findFileById(FileId, &LocatedFile)) in getSourceFileById()
373 if (S_OK != Session->getEnumDebugStreams(&DiaEnumerator)) in getDebugStreams()
381 if (S_OK != Session->getEnumTables(&DiaEnumerator)) in getEnumTables()
387 template <class T> static CComPtr<T> getTableEnumerator(IDiaSession &Session) { in getTableEnumerator() argument
393 if (Session.getEnumTables(&ET) != S_OK) in getTableEnumerator()
407 getTableEnumerator<IDiaEnumInjectedSources>(*Session); in getInjectedSources()
417 getTableEnumerator<IDiaEnumSectionContribs>(*Session); in getSectionContribs()
427 getTableEnumerator<IDiaEnumFrameData>(*Session); in getFrameData()