[llvm-branch-commits] [asan] Reduce priority of "contiguous_container:" VPrintf (PR #104402)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Aug 14 23:07:10 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Vitaly Buka (vitalybuka)
<details>
<summary>Changes</summary>
They are quite noisy in used in test application.
---
Full diff: https://github.com/llvm/llvm-project/pull/104402.diff
1 Files Affected:
- (modified) compiler-rt/lib/asan/asan_poisoning.cpp (+2-2)
``````````diff
diff --git a/compiler-rt/lib/asan/asan_poisoning.cpp b/compiler-rt/lib/asan/asan_poisoning.cpp
index 746ad61813c65d..d600b1a0c241fa 100644
--- a/compiler-rt/lib/asan/asan_poisoning.cpp
+++ b/compiler-rt/lib/asan/asan_poisoning.cpp
@@ -410,7 +410,7 @@ void __sanitizer_annotate_contiguous_container(const void *beg_p,
const void *new_mid_p) {
if (!flags()->detect_container_overflow)
return;
- VPrintf(2, "contiguous_container: %p %p %p %p\n", beg_p, end_p, old_mid_p,
+ VPrintf(3, "contiguous_container: %p %p %p %p\n", beg_p, end_p, old_mid_p,
new_mid_p);
uptr storage_beg = reinterpret_cast<uptr>(beg_p);
uptr storage_end = reinterpret_cast<uptr>(end_p);
@@ -479,7 +479,7 @@ void __sanitizer_annotate_double_ended_contiguous_container(
if (!flags()->detect_container_overflow)
return;
- VPrintf(2, "contiguous_container: %p %p %p %p %p %p\n", storage_beg_p,
+ VPrintf(3, "contiguous_container: %p %p %p %p %p %p\n", storage_beg_p,
storage_end_p, old_container_beg_p, old_container_end_p,
new_container_beg_p, new_container_end_p);
``````````
</details>
https://github.com/llvm/llvm-project/pull/104402
More information about the llvm-branch-commits
mailing list