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

Alexey Samsonov vonosmas at gmail.com
Wed Jun 3 09:25:39 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/sanitizer_common/sanitizer_printf.cc:260
@@ +259,3 @@
+                                           "==%s", exe_name);
+        if (needed_length >= buffer_size) {
+          // Process name does not fit into the current buffer.
----------------
Hm, now this chunk of code is copied three times in the function... Factor it out to a macro, maybe?

http://reviews.llvm.org/D7333

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






More information about the llvm-commits mailing list