Skip to content

Commit

Permalink
VM hack.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycanino committed Feb 3, 2023
1 parent c6f1a90 commit 91cf3db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/coreclr/vm/threadsuspend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3044,6 +3044,11 @@ BOOL Thread::RedirectCurrentThreadAtHandledJITCase(PFN_REDIRECTTARGET pTgt, CONT
#endif //defined(TARGET_X86) || defined(TARGET_AMD64)

success = CopyContext(pCtx, pCtx->ContextFlags, pCurrentThreadCtx);
if (!success)
{
DWORD hresult = GetLastError();
printf("Last Error: %d\n", hresult);
}
_ASSERTE(success);
if (!success)
return FALSE;
Expand Down

0 comments on commit 91cf3db

Please sign in to comment.