Skip to content

Commit 3c0a4f2

Browse files
authored
[asan] Reduce priority of "contiguous_container:" VPrintf (#104402)
They are quite noisy in used in test application.
1 parent 157c3fb commit 3c0a4f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/asan/asan_poisoning.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ void __sanitizer_annotate_contiguous_container(const void *beg_p,
410410
const void *new_mid_p) {
411411
if (!flags()->detect_container_overflow)
412412
return;
413-
VPrintf(2, "contiguous_container: %p %p %p %p\n", beg_p, end_p, old_mid_p,
413+
VPrintf(3, "contiguous_container: %p %p %p %p\n", beg_p, end_p, old_mid_p,
414414
new_mid_p);
415415
uptr storage_beg = reinterpret_cast<uptr>(beg_p);
416416
uptr storage_end = reinterpret_cast<uptr>(end_p);
@@ -479,7 +479,7 @@ void __sanitizer_annotate_double_ended_contiguous_container(
479479
if (!flags()->detect_container_overflow)
480480
return;
481481

482-
VPrintf(2, "contiguous_container: %p %p %p %p %p %p\n", storage_beg_p,
482+
VPrintf(3, "contiguous_container: %p %p %p %p %p %p\n", storage_beg_p,
483483
storage_end_p, old_container_beg_p, old_container_end_p,
484484
new_container_beg_p, new_container_end_p);
485485

0 commit comments

Comments
 (0)