diff options
author | Kostya Serebryany <kcc@google.com> | 2013-02-06 12:36:49 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-02-06 12:36:49 +0000 |
commit | 2673fd8406197c42f16cede6d287f72169298c2e (patch) | |
tree | 383e8e186b1ce47984a84768324ca04125b1238f /include | |
parent | 69563986ca570ce750111a82264d51ddbf4107ba (diff) | |
download | compiler-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.h | 5 |
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 |