diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-05-24 07:17:27 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-05-24 07:17:27 +0000 |
commit | 3a807e357f6575ea1e290ed122ee05504f109dae (patch) | |
tree | 52203370c48473e7d4ecd7f20f0bf12de79f516e /lib/asan/asan_win.cc | |
parent | 25efabe94f93114add3e4982ea1ee3e214378d85 (diff) |
[asan] Remove allow_user_segv_handler on Windows.
Summary:
This flags is not covered by tests on Windows and looks like it's implemented
incorrectly. Switching its default breaks some tests.
Taking into account that related handle_segv flag is not supported on Windows
it's safer to remove it until we commit to support it.
Reviewers: eugenis, zturner, rnk
Subscribers: kubamracek, llvm-commits
Differential Revision: https://reviews.llvm.org/D33471
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@303728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_win.cc')
-rw-r--r-- | lib/asan/asan_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_win.cc b/lib/asan/asan_win.cc index 4ab535c42..26db32465 100644 --- a/lib/asan/asan_win.cc +++ b/lib/asan/asan_win.cc @@ -80,7 +80,7 @@ static long WINAPI SEHHandler(EXCEPTION_POINTERS *info) { INTERCEPTOR_WINAPI(LPTOP_LEVEL_EXCEPTION_FILTER, SetUnhandledExceptionFilter, LPTOP_LEVEL_EXCEPTION_FILTER ExceptionFilter) { CHECK(REAL(SetUnhandledExceptionFilter)); - if (ExceptionFilter == &SEHHandler || common_flags()->allow_user_segv_handler) + if (ExceptionFilter == &SEHHandler) return REAL(SetUnhandledExceptionFilter)(ExceptionFilter); // We record the user provided exception handler to be called for all the // exceptions unhandled by asan. |