diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-07-22 23:57:19 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-07-22 23:57:19 +0000 |
commit | 4f03227fa2d921b15b6654408280a0c61ede0116 (patch) | |
tree | c1df550d9a4787bcaf74a42a5eab75d72437f65d /llvm/lib/Analysis | |
parent | 5657b73ebeb2fa7d23d7cd4dd7ca54f3cec85c39 (diff) | |
download | bcm5719-llvm-4f03227fa2d921b15b6654408280a0c61ede0116.tar.gz bcm5719-llvm-4f03227fa2d921b15b6654408280a0c61ede0116.zip |
[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.
llvm-svn: 242975
Diffstat (limited to 'llvm/lib/Analysis')
0 files changed, 0 insertions, 0 deletions