Add native exception filter holder.
authorMike McLaughlin <mikem@microsoft.com>
Sun, 27 Sep 2015 23:11:05 +0000 (16:11 -0700)
committerMike McLaughlin <mikem@microsoft.com>
Thu, 1 Oct 2015 22:54:57 +0000 (15:54 -0700)
commit339273c3298105c361a10d754608e804cf762b60
tree03d9cd97d096910a050d35c3cd854d24f9b17e10
parentb8d511ad6a9c259422a01cfd8d94ed08e06a09dd
Add native exception filter holder.

The problem is that the debugger unhandled managed exception notification is sent
because the proper filter function (InternalUnhandledExcpetionFilter) isn't called
and the filter can't be called currently during the first pass of managed exception
dispatch that it requires.

The NativeExceptionHolder is used to hold the filter handler for the
PAL_TRY/PAL_EXCEPT/PAL_EXCEPT_FILTER macros so managed exception dispatcher
can call them during the first pass like real SEH on Windows.
src/pal/inc/pal.h
src/pal/src/exception/seh.cpp
src/vm/eepolicy.cpp
src/vm/excep.cpp