MCPcopy Create free account
hub / github.com/beefytech/Beef / SearchCache

Method SearchCache

IDEHelper/DbgSymSrv.cpp:175–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void 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
203void DbgSymRequest::SearchSymSrv()
204{

Callers 2

PreCacheDebugInfoMethod · 0.80
RequestDebugInfoMethod · 0.80

Calls 1

IsEmptyMethod · 0.45

Tested by

no test coverage detected