diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2015-09-27 16:11:05 -0700 |
---|---|---|
committer | Mike McLaughlin <mikem@microsoft.com> | 2015-10-01 15:54:57 -0700 |
commit | 339273c3298105c361a10d754608e804cf762b60 (patch) | |
tree | 03d9cd97d096910a050d35c3cd854d24f9b17e10 /src/vm/excep.cpp | |
parent | b8d511ad6a9c259422a01cfd8d94ed08e06a09dd (diff) | |
download | coreclr-339273c3298105c361a10d754608e804cf762b60.tar.gz coreclr-339273c3298105c361a10d754608e804cf762b60.tar.bz2 coreclr-339273c3298105c361a10d754608e804cf762b60.zip |
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.
Diffstat (limited to 'src/vm/excep.cpp')
-rw-r--r-- | src/vm/excep.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vm/excep.cpp b/src/vm/excep.cpp index 4420ea2f3a..2bad8d7729 100644 --- a/src/vm/excep.cpp +++ b/src/vm/excep.cpp @@ -7885,7 +7885,6 @@ LONG WINAPI CLRVectoredExceptionHandlerPhase2(PEXCEPTION_POINTERS pExceptionInfo if ((pExceptionRecord->ExceptionCode == STATUS_BREAKPOINT) || (pExceptionRecord->ExceptionCode == STATUS_SINGLE_STEP)) { -#ifndef FEATURE_PAL // A breakpoint outside managed code and outside the runtime will have to be handled by some // other piece of code. @@ -7910,7 +7909,6 @@ LONG WINAPI CLRVectoredExceptionHandlerPhase2(PEXCEPTION_POINTERS pExceptionInfo // an unhandled exception.) return EXCEPTION_CONTINUE_SEARCH; } -#endif // !FEATURE_PAL // The breakpoint was from managed or the runtime. Handle it. Or, // this may be a Rotor build. |