[compiler-rt] r271202 - Add __sanitizer_set_report_fd to the internal list of symbols.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Mon May 30 02:40:00 PDT 2016
Author: d0k
Date: Mon May 30 04:39:47 2016
New Revision: 271202
URL: http://llvm.org/viewvc/llvm-project?rev=271202&view=rev
Log:
Add __sanitizer_set_report_fd to the internal list of symbols.
Otherwise it will get the wrong visibility in the resulting library.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_interface_internal.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_interface_internal.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_interface_internal.h?rev=271202&r1=271201&r2=271202&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_interface_internal.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_interface_internal.h Mon May 30 04:39:47 2016
@@ -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;
More information about the llvm-commits
mailing list