aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-07-23 22:05:20 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-07-23 22:05:20 +0000
commit5a268b10b3a0244bbb1833652210387921aa368c (patch)
tree80964f8953a023b01d9459ceb542aebd3c2cda21 /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent333a19f6c3fadf23414827834ee81efdd70920cd (diff)
downloadllvm-5a268b10b3a0244bbb1833652210387921aa368c.zip
llvm-5a268b10b3a0244bbb1833652210387921aa368c.tar.gz
llvm-5a268b10b3a0244bbb1833652210387921aa368c.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions