diff options
author | Kostya Serebryany <kcc@google.com> | 2015-08-06 17:52:54 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2015-08-06 17:52:54 +0000 |
commit | c3a591f46a126f8315cd66f21c7bbf795c276cb9 (patch) | |
tree | 3fd1132640760bddace8d02cba543e789931bc8d /lib/asan/asan_win.cc | |
parent | 24e5eddb8939379e1dfc2bb56aab562b864d9705 (diff) |
[sanitizer] 2-nd attempt. Add the flag handle_sigfpe that is default true to handle SIGFPE crashes same as SIGSEV crashes, patch by Karl Skomski. This time the test is enabled only on x86-64 (it broke on ARM)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@244234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_win.cc')
-rw-r--r-- | lib/asan/asan_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_win.cc b/lib/asan/asan_win.cc index 619d2ef02..1aec72bab 100644 --- a/lib/asan/asan_win.cc +++ b/lib/asan/asan_win.cc @@ -197,7 +197,7 @@ void ReadContextStack(void *context, uptr *stack, uptr *ssize) { UNIMPLEMENTED(); } -void AsanOnSIGSEGV(int, void *siginfo, void *context) { +void AsanOnDeadlySignal(int, void *siginfo, void *context) { UNIMPLEMENTED(); } @@ -214,7 +214,7 @@ static long WINAPI SEHHandler(EXCEPTION_POINTERS *info) { ? "access-violation" : "in-page-error"; SignalContext sig = SignalContext::Create(exception_record, context); - ReportSIGSEGV(description, sig); + ReportDeadlySignal(description, sig); } // FIXME: Handle EXCEPTION_STACK_OVERFLOW here. |