llvm-project/compiler-rt/lib
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
..
BlocksRuntime Move tests for BlocksRuntime and builtins to corresponding directories under test/ 2014-02-14 09:47:31 +00:00
asan [asan] Trying to make peace with the Windows bots, take 2 2015-07-23 11:53:58 +00:00
builtins Add missing chkstk.S files from r242539 2015-07-17 16:31:59 +00:00
cfi CFI: Add a default blacklist. 2015-07-15 12:16:25 +00:00
dfsan [sanitizer] Implement logging to syslog. 2015-07-23 22:05:20 +00:00
interception CMake: Stop using LLVM's custom parse_arguments. NFC 2015-06-19 03:39:24 +00:00
lsan [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
msan [sanitizer] Implement include_if_exists with process name substitution. 2015-07-21 23:03:13 +00:00
profile [probile] Fix memory leak introduced in r241824. 2015-07-15 22:50:39 +00:00
safestack [sanitizer] Implement logging to syslog. 2015-07-23 22:05:20 +00:00
sanitizer_common [sanitizer] Implement logging to syslog. 2015-07-23 22:05:20 +00:00
tsan [sanitizer] Implement logging to syslog. 2015-07-23 22:05:20 +00:00
ubsan UBSan: Simplify logic for locating the RTTI object. 2015-07-08 23:22:39 +00:00
CMakeLists.txt CFI: Add a default blacklist. 2015-07-15 12:16:25 +00:00
Makefile.mk Remove support for building sanitizers from Makefile/autoconf build on Linux. 2015-02-18 22:26:49 +00:00