[compiler-rt] bc897ba - [asan] Increase CHECK limit in __sanitizer_annotate_contiguous_container
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 23 22:15:01 PST 2021
Author: Vitaly Buka
Date: 2021-02-23T22:14:42-08:00
New Revision: bc897bad66170e7db845373695b0a09c554bbd4b
URL: https://github.com/llvm/llvm-project/commit/bc897bad66170e7db845373695b0a09c554bbd4b
DIFF: https://github.com/llvm/llvm-project/commit/bc897bad66170e7db845373695b0a09c554bbd4b.diff
LOG: [asan] Increase CHECK limit in __sanitizer_annotate_contiguous_container
Asan allocator already support up to (1 << 40) bytes allocations.
Added:
Modified:
compiler-rt/lib/asan/asan_poisoning.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/asan/asan_poisoning.cpp b/compiler-rt/lib/asan/asan_poisoning.cpp
index 44f872ef6190..fa149ecfde66 100644
--- a/compiler-rt/lib/asan/asan_poisoning.cpp
+++ b/compiler-rt/lib/asan/asan_poisoning.cpp
@@ -364,7 +364,7 @@ void __sanitizer_annotate_contiguous_container(const void *beg_p,
&stack);
}
CHECK_LE(end - beg,
- FIRST_32_SECOND_64(1UL << 30, 1ULL << 34)); // Sanity check.
+ FIRST_32_SECOND_64(1UL << 30, 1ULL << 40)); // Sanity check.
uptr a = RoundDownTo(Min(old_mid, new_mid), granularity);
uptr c = RoundUpTo(Max(old_mid, new_mid), granularity);
More information about the llvm-commits
mailing list