diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-01-20 13:21:20 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-01-20 13:21:20 +0000 |
commit | e11473fe06f0d0c0e8e42fa5f6282a70904b5ec6 (patch) | |
tree | d9e89fe1bb6466d4145616d47ea6eef6f200c8ac /lib/msan/msan_report.cc | |
parent | bd5b2c8481f24907795e0138b313f00063ddc35a (diff) |
[asan] Allow changing verbosity in activation flags.
This change removes some debug output in asan_flags.cc that
was reading the verbosity level before all the flags were parsed.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@226566 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_report.cc')
-rw-r--r-- | lib/msan/msan_report.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msan/msan_report.cc b/lib/msan/msan_report.cc index 717c4a958..6867ee369 100644 --- a/lib/msan/msan_report.cc +++ b/lib/msan/msan_report.cc @@ -255,7 +255,7 @@ void ReportUMRInsideAddressRange(const char *what, const void *start, uptr size, Printf("%sUninitialized bytes in %s%s%s at offset %zu inside [%p, %zu)%s\n", d.Warning(), d.Name(), what, d.Warning(), offset, start, size, d.End()); - if (__sanitizer::common_flags()->verbosity > 0) + if (__sanitizer::Verbosity()) DescribeMemoryRange(start, size); } |