llvm-project/compiler-rt/lib/tsan/go
Evgeniy Stepanov 5a268b10b3 [sanitizer] Implement logging to syslog.
Previously, Android target had a logic of duplicating all sanitizer
output to logcat. This change extends it to all posix platforms via
the use of syslog, controlled by log_to_syslog flag. Enabled by
default on Android, off everywhere else.

A bit of cmake magic is required to allow Printf() to call a libc
function. I'm adding a stub implementation to support no-libc builds
like dfsan and safestack.

This is a second attempt. I believe I've fixed all the issues that
prompted the revert: Mac build, and all kinds of non-CMake builds
(there are 3 of those).

llvm-svn: 243051
2015-07-23 22:05:20 +00:00
..
build.bat tsan: add -Wno-maybe-uninitialized to mingw gcc build flags 2015-02-18 09:37:31 +00:00
buildgo.sh [sanitizer] Implement logging to syslog. 2015-07-23 22:05:20 +00:00
test.c tsan: update interface for Go 2014-03-06 13:17:28 +00:00
tsan_go.cc [TSan] Fix Go build. 2015-01-07 02:12:41 +00:00