diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-05-30 09:39:47 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-05-30 09:39:47 +0000 |
commit | bd0c944d78a7944fd3dcca40d3f7fef7ff6c31c0 (patch) | |
tree | 7a2df112b0339def278bc71b9a674a6e146ab612 /lib/sanitizer_common/sanitizer_interface_internal.h | |
parent | 2c6d05b533d4ee0145de99c212aa6e38658f3d3a (diff) | |
download | compiler-rt-bd0c944d78a7944fd3dcca40d3f7fef7ff6c31c0.tar.gz |
Add __sanitizer_set_report_fd to the internal list of symbols.
Otherwise it will get the wrong visibility in the resulting library.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@271202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_interface_internal.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_interface_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_interface_internal.h b/lib/sanitizer_common/sanitizer_interface_internal.h index b11ae3010..7f43c84c2 100644 --- a/lib/sanitizer_common/sanitizer_interface_internal.h +++ b/lib/sanitizer_common/sanitizer_interface_internal.h @@ -25,6 +25,10 @@ extern "C" { // The special values are "stdout" and "stderr". SANITIZER_INTERFACE_ATTRIBUTE void __sanitizer_set_report_path(const char *path); + // Tell the tools to write their reports to the provided file descriptor + // (casted to void *). + SANITIZER_INTERFACE_ATTRIBUTE + void __sanitizer_set_report_fd(void *fd); typedef struct { int coverage_sandboxed; |