summaryrefslogtreecommitdiff
path: root/lib/asan/asan_report.h
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2014-07-11 11:57:41 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2014-07-11 11:57:41 +0000
commit65b42e13c28dfc17859db3ba78dc0a4e2a35cb9c (patch)
tree448277709f6a531c8f6ecdba654454b9e3874212 /lib/asan/asan_report.h
parent4f59148e575e01ed1896ff98f0e8a99ab689ebe5 (diff)
downloadcompiler-rt-65b42e13c28dfc17859db3ba78dc0a4e2a35cb9c.tar.gz
[ASan/Win] Catch NULL derefs and page faults
Reviewed at http://reviews.llvm.org/D4471 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212807 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.h')
-rw-r--r--lib/asan/asan_report.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asan/asan_report.h b/lib/asan/asan_report.h
index 374ebfb4f..bec7f61db 100644
--- a/lib/asan/asan_report.h
+++ b/lib/asan/asan_report.h
@@ -34,8 +34,8 @@ void DescribeThread(AsanThreadContext *context);
// Different kinds of error reports.
void NORETURN
ReportStackOverflow(uptr pc, uptr sp, uptr bp, void *context, uptr addr);
-void NORETURN
- ReportSIGSEGV(uptr pc, uptr sp, uptr bp, void *context, uptr addr);
+void NORETURN ReportSIGSEGV(const char *description, uptr pc, uptr sp, uptr bp,
+ void *context, uptr addr);
void NORETURN ReportDoubleFree(uptr addr, StackTrace *free_stack);
void NORETURN ReportFreeNotMalloced(uptr addr, StackTrace *free_stack);
void NORETURN ReportAllocTypeMismatch(uptr addr, StackTrace *free_stack,