[PATCH] Add process name to Asan logfile name and report message
tetra2005 at gmail.com
Fri Oct 10 03:44:56 PDT 2014
Hi kcc, samsonov, eugenis,
Currently when we set log_path in ASAN_OPTIONS, Asan runtime appends process ID to name to distinguish log files for different processes. This patch adds process name to log name. This is handy for inspection of Asan logs of fully sanitized system runs (for common Linux distributions this would be hundreds of logs). I've also added process name to Asan error report. Currently it prints just process ID so to identify the actual process one needs to manually scan the stacktrace (which is not always available) and check the PC of top-most frame.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8077 bytes
Desc: not available
More information about the llvm-commits