mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed hot swap type errors for LocateSymbol forced obj loads
This commit is contained in:
parent
58bf51f731
commit
810c7b843b
6 changed files with 63 additions and 51 deletions
|
@ -597,7 +597,7 @@ bool DwMethodMatcher::CheckType(DbgType* typeInstance, bool isFailurePass)
|
|||
if ((methodNameEntry->mCompileUnitId != -1) && (methodNameEntry->mName == mMethodName))
|
||||
{
|
||||
// If we hot-replaced this type then we replaced and parsed all the methods too
|
||||
if (!curType->mCompileUnit->mDbgModule->mIsHotObjectFile)
|
||||
if (!curType->mCompileUnit->mDbgModule->IsObjectFile())
|
||||
curType->mCompileUnit->mDbgModule->MapCompileUnitMethods(methodNameEntry->mCompileUnitId);
|
||||
methodNameEntry->mCompileUnitId = -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue