[compiler-rt] r192706 - tsan: remove __sanitizer_set_report_fd function from public interface
Dmitry Vyukov
dvyukov at google.com
Tue Oct 15 07:14:34 PDT 2013
Author: dvyukov
Date: Tue Oct 15 09:14:34 2013
New Revision: 192706
URL: http://llvm.org/viewvc/llvm-project?rev=192706&view=rev
Log:
tsan: remove __sanitizer_set_report_fd function from public interface
__sanitizer_set_report_path now accepts two special values - stderr and stdout
logging to other file descriptors is not supported anymore,
it's fragile in presence of multiple processes, fork, etc
Modified:
compiler-rt/trunk/include/sanitizer/common_interface_defs.h
Modified: compiler-rt/trunk/include/sanitizer/common_interface_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/sanitizer/common_interface_defs.h?rev=192706&r1=192705&r2=192706&view=diff
==============================================================================
--- compiler-rt/trunk/include/sanitizer/common_interface_defs.h (original)
+++ compiler-rt/trunk/include/sanitizer/common_interface_defs.h Tue Oct 15 09:14:34 2013
@@ -27,10 +27,6 @@ extern "C" {
// Tell the tools to write their reports to "path.<pid>" instead of stderr.
void __sanitizer_set_report_path(const char *path);
- // Tell the tools to write their reports to given file descriptor instead of
- // stderr.
- void __sanitizer_set_report_fd(int fd);
-
// Notify the tools that the sandbox is going to be turned on. The reserved
// parameter will be used in the future to hold a structure with functions
// that the tools may call to bypass the sandbox.
More information about the llvm-commits
mailing list