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

Alexey Samsonov vonosmas at gmail.com
Wed May 28 14:31:58 PDT 2014


LGTM

================
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.
----------------
Viktor Kutuzov wrote:
> BTW, why don't we check proc_self_exe_cache_len first?
Weird indeed. Should be fixed by r209773.

http://reviews.llvm.org/D3938






More information about the llvm-commits mailing list