projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8560c2d
)
[asan] Increase CHECK limit in __sanitizer_annotate_contiguous_container
author
Vitaly Buka
<vitalybuka@google.com>
Wed, 24 Feb 2021 00:44:00 +0000
(16:44 -0800)
committer
Vitaly Buka
<vitalybuka@google.com>
Wed, 24 Feb 2021 06:14:42 +0000
(22:14 -0800)
Asan allocator already support up to (1 << 40) bytes allocations.
compiler-rt/lib/asan/asan_poisoning.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/asan/asan_poisoning.cpp
b/compiler-rt/lib/asan/asan_poisoning.cpp
index
44f872e
..
fa149ec
100644
(file)
--- 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);