| 6832 | } |
| 6833 | |
| 6834 | void COFF::PreCacheDebugInfo() |
| 6835 | { |
| 6836 | if (mDbgSymRequest == NULL) |
| 6837 | return; |
| 6838 | |
| 6839 | if (mDbgSymRequest->mInProcess) |
| 6840 | return; |
| 6841 | |
| 6842 | bool hasDebugInfo = false; |
| 6843 | mDbgSymRequest->SearchCache(); |
| 6844 | if (mDbgSymRequest->mFinalPDBPath.IsEmpty()) |
| 6845 | { |
| 6846 | if (GetCurrentThreadId() == mDebugger->mDebuggerThreadId) |
| 6847 | { |
| 6848 | mDbgSymRequest->mIsPreCache = true; |
| 6849 | mDbgSymRequest->SearchSymSrv(); |
| 6850 | mDbgSymRequest->mIsPreCache = false; |
| 6851 | mDbgSymRequest->mFailed = false; |
| 6852 | } |
| 6853 | } |
| 6854 | } |
| 6855 | |
| 6856 | bool COFF::LoadModuleImage(const StringImpl& imagePath) |
| 6857 | { |
no test coverage detected