Change Unix HW exception unwinding to not to go through signal trampoline (dotnet...
authorJan Vorlicek <janvorli@microsoft.com>
Mon, 23 May 2016 18:22:35 +0000 (20:22 +0200)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 23 May 2016 18:22:35 +0000 (20:22 +0200)
commitf45fd59ac2c113abf5052f0372232c1ff2f5bd26
tree3313f98fd1705bc9ba67c6de9e0cd08369b47fc5
parent7b7bdfb01ed929592561388ba392eddb66fee227
Change Unix HW exception unwinding to not to go through signal trampoline (dotnet/coreclr#5140)

This change modifies the HW exception handling on Unix so that it doesn't unwind
from the context of the DispatchManagedException through the signal trampoline
to the actual location of the exception and uses the exception's context instead.
This fixes problem that some target systems like ARM Linux have with unwinding
through that trampoline.

Commit migrated from https://github.com/dotnet/coreclr/commit/37d2c7bed790af03173bb66aeff37796cb25eb66
src/coreclr/src/pal/src/exception/seh.cpp
src/coreclr/src/vm/exceptionhandling.cpp