summaryrefslogtreecommitdiff
path: root/lib/asan
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2012-05-30 14:12:20 +0000
committerAlexander Potapenko <glider@google.com>2012-05-30 14:12:20 +0000
commite4781f0c5871a14e2c454d7788bae2e5c72bd336 (patch)
tree14cb1cec1fc24d4a80c1085486802373569a31bd /lib/asan
parentb4b9fa707324095e3590a57963fd754d7a4dd40e (diff)
downloadcompiler-rt-e4781f0c5871a14e2c454d7788bae2e5c72bd336.tar.gz
Be less verbose when parsing the default options.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@157691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan')
-rw-r--r--lib/asan/asan_rtl.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/asan/asan_rtl.cc b/lib/asan/asan_rtl.cc
index d0a9cd57d..19e1d9934 100644
--- a/lib/asan/asan_rtl.cc
+++ b/lib/asan/asan_rtl.cc
@@ -504,9 +504,11 @@ void __asan_init() {
#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