[compiler-rt] r230974 - [asan] Demote "trying to poison/unpoison memory region" messages...
Sergey Matveev
earthdok at google.com
Mon Mar 2 09:13:38 PST 2015
Author: smatveev
Date: Mon Mar 2 11:13:38 2015
New Revision: 230974
URL: http://llvm.org/viewvc/llvm-project?rev=230974&view=rev
Log:
[asan] Demote "trying to poison/unpoison memory region" messages...
... to verbosity level 3. Because log spam.
Modified:
compiler-rt/trunk/lib/asan/asan_poisoning.cc
Modified: compiler-rt/trunk/lib/asan/asan_poisoning.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_poisoning.cc?rev=230974&r1=230973&r2=230974&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_poisoning.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_poisoning.cc Mon Mar 2 11:13:38 2015
@@ -112,7 +112,7 @@ void __asan_poison_memory_region(void co
if (!flags()->allow_user_poisoning || size == 0) return;
uptr beg_addr = (uptr)addr;
uptr end_addr = beg_addr + size;
- VPrintf(1, "Trying to poison memory region [%p, %p)\n", (void *)beg_addr,
+ VPrintf(3, "Trying to poison memory region [%p, %p)\n", (void *)beg_addr,
(void *)end_addr);
ShadowSegmentEndpoint beg(beg_addr);
ShadowSegmentEndpoint end(end_addr);
@@ -152,7 +152,7 @@ void __asan_unpoison_memory_region(void
if (!flags()->allow_user_poisoning || size == 0) return;
uptr beg_addr = (uptr)addr;
uptr end_addr = beg_addr + size;
- VPrintf(1, "Trying to unpoison memory region [%p, %p)\n", (void *)beg_addr,
+ VPrintf(3, "Trying to unpoison memory region [%p, %p)\n", (void *)beg_addr,
(void *)end_addr);
ShadowSegmentEndpoint beg(beg_addr);
ShadowSegmentEndpoint end(end_addr);
More information about the llvm-commits
mailing list