[RTL/x64] Remove an ASSERT in RtlpTryToUnwindEpilog

This can fail on optimized builds, where functions can end after a noreturn function call without an epilog / ret, but with an int 3. We simply fail gracefully, which is the right thing to do.
This commit is contained in:
Timo Kreuzer 2023-08-16 00:10:46 +03:00
parent 8841e3d7ba
commit b6987d1463

View file

@ -413,7 +413,6 @@ RtlpTryToUnwindEpilog(
/* Make sure this is really a ret instruction */
if (*InstrPtr != 0xc3)
{
ASSERT(FALSE);
return FALSE;
}