Fix Windows x86 EH for exception from UMThunkPrestub (dotnet/coreclr#20704)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 31 Oct 2018 17:02:36 +0000 (18:02 +0100)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 17:02:36 +0000 (18:02 +0100)
commitc484acdd6aa3541b56a40aab8edb575eb50a31b8
tree172ea5f1af7a25645819a7ee08f8b3cd65b8096c
parentc7570afb8695068e96e2e4bff9c1d9472ecb6099
Fix Windows x86 EH for exception from UMThunkPrestub (dotnet/coreclr#20704)

The exception handling was poping an explicit frame in
UMThunkPrestubHandler down the call chain from CallRtlUnwindSafe, but it
was not updating the tct.pBottomFrame after returning from that function
back to CPFH_RealFirstPassHandler. And the call to COMPlusAfterUnwind
then called UnwindFrames starting at the old frame that was already
removed from the chain.

Commit migrated from https://github.com/dotnet/coreclr/commit/c34a0c0e5ebb2170ccc52d5a26a5c346d97ea7b6
src/coreclr/src/vm/i386/excepx86.cpp