[PATCH] Add process name to Asan logfile name and report message

Ed Maste emaste at freebsd.org
Sun Nov 9 18:58:52 PST 2014


================
Comment at: lib/sanitizer_common/sanitizer_common.cc:230-232
@@ -227,1 +229,5 @@
 
+static BlockingMutex proc_self_exe_cache_lock(LINKER_INITIALIZED);
+static char proc_self_exe_cache_str[kMaxPathLength];
+static bool proc_self_exe_cache_initialized = false;
+
----------------
should probably be binary_name_cache_str or similar instead so the name is appropriate on all OSes.

http://reviews.llvm.org/D5724






More information about the llvm-commits mailing list