diff options
author | Maxim Ostapenko <chefmax7@gmail.com> | 2017-04-11 14:58:26 +0000 |
---|---|---|
committer | Maxim Ostapenko <chefmax7@gmail.com> | 2017-04-11 14:58:26 +0000 |
commit | 8d8e5f3b6c3f6c74c0ddcdbdd169ffe3fefadfe3 (patch) | |
tree | 1d7b57f83768f06bbdc6cfcf5833b16fc4ede564 /lib/lsan/lsan_allocator.cc | |
parent | 056881d0b45d6148ab00fa12cb58cd75e4f64e48 (diff) | |
download | compiler-rt-8d8e5f3b6c3f6c74c0ddcdbdd169ffe3fefadfe3.tar.gz |
Reapply "Enable LSan for arm Linux"
This patch reapplies r299923 with typo fixed in BLX macros.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@299948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/lsan/lsan_allocator.cc')
-rw-r--r-- | lib/lsan/lsan_allocator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsan/lsan_allocator.cc b/lib/lsan/lsan_allocator.cc index 640497d40..9c8acc186 100644 --- a/lib/lsan/lsan_allocator.cc +++ b/lib/lsan/lsan_allocator.cc @@ -24,7 +24,7 @@ extern "C" void *memset(void *ptr, int value, uptr num); namespace __lsan { -#if defined(__i386__) +#if defined(__i386__) || defined(__arm__) static const uptr kMaxAllowedMallocSize = 1UL << 30; #elif defined(__mips64) || defined(__aarch64__) static const uptr kMaxAllowedMallocSize = 4UL << 30; |