[PATCH] Support getting executable's name for sanitizers needs on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Wed May 28 07:04:50 PDT 2014


================
Comment at: lib/sanitizer_common/sanitizer_linux.cc:672
@@ -662,2 +671,3 @@
+  if (IsErr) {
     if (proc_self_exe_cache_len) {
       // If available, use the cached module name.
----------------
BTW, why don't we check proc_self_exe_cache_len first?

http://reviews.llvm.org/D3938






More information about the llvm-commits mailing list