[PATCH] D11435: [sanitizer] Implement logging to syslog
eugenis at google.com
Wed Jul 22 15:33:02 PDT 2015
eugenis created this revision.
eugenis added reviewers: samsonov, kcc.
eugenis added a subscriber: llvm-commits.
Herald added subscribers: srhines, danalbert, tberghammer.
Previously, Android target has 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9143 bytes
Desc: not available
More information about the llvm-commits