aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-02-06 12:36:49 +0000
committerKostya Serebryany <kcc@google.com>2013-02-06 12:36:49 +0000
commit2673fd8406197c42f16cede6d287f72169298c2e (patch)
tree383e8e186b1ce47984a84768324ca04125b1238f /include
parent69563986ca570ce750111a82264d51ddbf4107ba (diff)
downloadcompiler-rt-2673fd8406197c42f16cede6d287f72169298c2e.tar.gz
[asan] print a short one-line report summary after the full report. Currently, works only if symbolization happens in-process.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@174501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/sanitizer/common_interface_defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sanitizer/common_interface_defs.h b/include/sanitizer/common_interface_defs.h
index 86338dcce..238c30dd0 100644
--- a/include/sanitizer/common_interface_defs.h
+++ b/include/sanitizer/common_interface_defs.h
@@ -31,6 +31,11 @@ extern "C" {
// that the tools may call to bypass the sandbox.
void __sanitizer_sandbox_on_notify(void *reserved);
+ // This function is called by the tool when it has just finished reporting
+ // an error. 'error_summary' is a one-line string that summarizes
+ // the error message. This function can be overridden by the client.
+ void __sanitizer_report_error_summary(const char *error_summary);
+
#ifdef __cplusplus
} // extern "C"
#endif