diff options
author | Kostya Serebryany <kcc@google.com> | 2015-08-05 21:19:11 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2015-08-05 21:19:11 +0000 |
commit | 41e764c06a29e39a1ff85feafec8c1d499173caf (patch) | |
tree | 60197da182eeed2bce5868adcfae86bd85232ce2 /lib/asan/asan_report.h | |
parent | 594068260122bba858e1de8c3c1bd5c379b33d7c (diff) |
[sanitizer] Add the flag handle_sigfpe that is default true to handle SIGFPE crashes same as SIGSEV crashes, patch by Karl Skomski
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@244136 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.h')
-rw-r--r-- | lib/asan/asan_report.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asan/asan_report.h b/lib/asan/asan_report.h index e2786b0f2..e971eb1d6 100644 --- a/lib/asan/asan_report.h +++ b/lib/asan/asan_report.h @@ -50,7 +50,8 @@ void DescribeThread(AsanThreadContext *context); // Different kinds of error reports. void NORETURN ReportStackOverflow(const SignalContext &sig); -void NORETURN ReportSIGSEGV(const char *description, const SignalContext &sig); +void NORETURN ReportDeadlySignal(const char* description, + const SignalContext &sig); void NORETURN ReportNewDeleteSizeMismatch(uptr addr, uptr delete_size, BufferedStackTrace *free_stack); void NORETURN ReportDoubleFree(uptr addr, BufferedStackTrace *free_stack); |