[PATCH] [ASan] Add process basename to log name and error message to simplify analysis of sanitized systems logs.
tetra2005 at gmail.com
Thu Jan 29 22:24:43 PST 2015
Yikes, looks like I accidentally closed this by a partial cleanup commit. Should I create a new review?
Comment at: lib/asan/asan_report.cc:56
@@ -55,3 +55,3 @@
// FIXME: reallocate the buffer instead of truncating the message.
- error_message_buffer_pos += remaining > length ? length : remaining;
+ error_message_buffer_pos += Min(remaining, length);
> Feel free to commit this part separately in a cleanup CL.
Landed in 227559.
More information about the llvm-commits