[PATCH] [ASan] Add process basename to log name and error message to simplify analysis of sanitized systems logs.

Yury Gribov 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?


REPOSITORY
  rL LLVM

================
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);
   }
----------------
samsonov wrote:
> Feel free to commit this part separately in a cleanup CL.
Landed in 227559.

http://reviews.llvm.org/D7172

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list