| 173 | } |
| 174 | |
| 175 | void DbgSymRequest::SearchCache() |
| 176 | { |
| 177 | if ((gDebugManager->mSymSrvOptions.mFlags & BfSymSrvFlag_Disable) != 0) |
| 178 | { |
| 179 | mFailed = true; |
| 180 | return; |
| 181 | } |
| 182 | |
| 183 | if (mOptions.mCacheDir.IsEmpty()) |
| 184 | { |
| 185 | mFailed = true; |
| 186 | return; |
| 187 | } |
| 188 | |
| 189 | uint8 outGuid[16]; |
| 190 | int32 outAge; |
| 191 | |
| 192 | String cacheDir = mOptions.mCacheDir; |
| 193 | cacheDir += GetPDBStoreDir(); |
| 194 | |
| 195 | String cacheFilePath = cacheDir + "/" + GetFileName(mPDBRequested); |
| 196 | if (CheckPDBData(cacheFilePath, outGuid, outAge)) |
| 197 | { |
| 198 | mFinalPDBPath = cacheFilePath; |
| 199 | return; |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | void DbgSymRequest::SearchSymSrv() |
| 204 | { |
no test coverage detected