[llvm-commits] [compiler-rt] r157691 - /compiler-rt/trunk/lib/asan/asan_rtl.cc

Alexander Potapenko glider at google.com
Wed May 30 07:12:21 PDT 2012


Author: glider
Date: Wed May 30 09:12:20 2012
New Revision: 157691

URL: http://llvm.org/viewvc/llvm-project?rev=157691&view=rev
Log:
Be less verbose when parsing the default options.

Modified:
    compiler-rt/trunk/lib/asan/asan_rtl.cc

Modified: compiler-rt/trunk/lib/asan/asan_rtl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_rtl.cc?rev=157691&r1=157690&r2=157691&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_rtl.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_rtl.cc Wed May 30 09:12:20 2012
@@ -504,9 +504,11 @@
 
 #if !defined(_WIN32)
   if (__asan_default_options) {
-    Report("Using the defaults from __asan_default_options: %s\n",
-           __asan_default_options);
     ParseAsanOptions(__asan_default_options);
+    if (FLAG_v) {
+      Report("Using the defaults from __asan_default_options: %s\n",
+             __asan_default_options);
+    }
   }
 #endif
   // flags





More information about the llvm-commits mailing list