summaryrefslogtreecommitdiff
path: root/lib/asan/asan_report.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-09-05 07:37:15 +0000
committerAlexey Samsonov <samsonov@google.com>2012-09-05 07:37:15 +0000
commit71b42c9740e6f73da607aaa539affb5c4807231c (patch)
tree5e796e9b30c19f293910a7585a976a7aba3e92f3 /lib/asan/asan_report.h
parent1dc4cf7e253aefa3ce3bd4a1d349a13647e8b2ea (diff)
[ASan] Add print_full_thread_history runtime option (on by default) that prints all full thread creation paths for threads involved in ASan error report
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@163200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_report.h')
-rw-r--r--lib/asan/asan_report.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asan/asan_report.h b/lib/asan/asan_report.h
index 084569055..dc3bf9b01 100644
--- a/lib/asan/asan_report.h
+++ b/lib/asan/asan_report.h
@@ -13,6 +13,7 @@
//===----------------------------------------------------------------------===//
#include "asan_internal.h"
+#include "asan_thread.h"
#include "sanitizer/asan_interface.h"
namespace __asan {
@@ -27,6 +28,8 @@ bool DescribeAddressIfStack(uptr addr, uptr access_size);
// Determines memory type on its own.
void DescribeAddress(uptr addr, uptr access_size);
+void DescribeThread(AsanThreadSummary *summary);
+
// Different kinds of error reports.
void NORETURN ReportSIGSEGV(uptr pc, uptr sp, uptr bp, uptr addr);
void NORETURN ReportDoubleFree(uptr addr, StackTrace *stack);