aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2022-08-19 21:16:02 -0700
committerVitaly Buka <vitalybuka@google.com>2022-08-19 21:16:31 -0700
commitfbebf0f6de3f45ed562e8d5a898c8767a7e26bc4 (patch)
tree9bb94977329ed258b399d0df9bb2bc4888307622
parent1dbe8561e7b1190da33d2e248f171816ea9d108f (diff)
downloadllvm-fbebf0f6de3f45ed562e8d5a898c8767a7e26bc4.zip
llvm-fbebf0f6de3f45ed562e8d5a898c8767a7e26bc4.tar.gz
llvm-fbebf0f6de3f45ed562e8d5a898c8767a7e26bc4.tar.bz2
[msan] Bump max allocation on aarch64
-rw-r--r--compiler-rt/lib/msan/msan_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/msan/msan_allocator.cpp b/compiler-rt/lib/msan/msan_allocator.cpp
index 0d5e853..051a9cb 100644
--- a/compiler-rt/lib/msan/msan_allocator.cpp
+++ b/compiler-rt/lib/msan/msan_allocator.cpp
@@ -108,7 +108,7 @@ struct AP64 { // Allocator64 parameters. Deliberately using a short name.
typedef SizeClassAllocator64<AP64> PrimaryAllocator;
#elif defined(__aarch64__)
-static const uptr kMaxAllowedMallocSize = 2UL << 30; // 2G
+static const uptr kMaxAllowedMallocSize = 8UL << 30;
struct AP32 {
static const uptr kSpaceBeg = 0;