We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c31f163 commit 42c2838Copy full SHA for 42c2838
src/coreclr/nativeaot/Runtime/EHHelpers.cpp
@@ -577,6 +577,8 @@ int32_t __stdcall RhpVectoredExceptionHandler(PEXCEPTION_POINTERS pExPtrs)
577
// Undo the "pop", but fix the return to point to the original caller,
578
// so that the ret could now succeed.
579
interruptedContext->SetSp(interruptedContext->GetSp() - 8);
580
+ // CONSIDER: According to docs, the OS should fix the SP value to match one from SSP,
581
+ // so this could be an assert instead.
582
*(size_t *)interruptedContext->GetSp() = interruptedContext->GetIp();
583
interruptedContext->SetIp(origIp);
584
}
0 commit comments