diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-11-02 09:23:36 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-11-02 09:23:36 +0000 |
| commit | ac8564e7ce11e31b1d29e92dbbcfa1a5d36bc596 (patch) | |
| tree | acd0de55e1439f2699c5b8c7ad5518d9cedee36c /include | |
| parent | ea0177e2b8bb5d1dbd22c7e2776f6299fa712799 (diff) | |
| download | compiler-rt-ac8564e7ce11e31b1d29e92dbbcfa1a5d36bc596.tar.gz compiler-rt-ac8564e7ce11e31b1d29e92dbbcfa1a5d36bc596.tar.bz2 compiler-rt-ac8564e7ce11e31b1d29e92dbbcfa1a5d36bc596.tar.xz | |
[Sanitizer]: add __sanitizer_set_report_fd function to alter file descriptor for error reports
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167290 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 cbce63f1..46663180 100644 --- a/include/sanitizer/common_interface_defs.h +++ b/include/sanitizer/common_interface_defs.h @@ -63,6 +63,11 @@ extern "C" { // Tell the tools to write their reports to "path.<pid>" instead of stderr. void __sanitizer_set_report_path(const char *path) SANITIZER_INTERFACE_ATTRIBUTE; + + // Tell the tools to write their reports to given file descriptor instead of + // stderr. + void __sanitizer_set_report_fd(int fd) + SANITIZER_INTERFACE_ATTRIBUTE; } // extern "C" #endif // SANITIZER_COMMON_INTERFACE_DEFS_H |
