[PATCH] D28142: Decrease kLargeMalloc block size in ASAN unit tests.
Evgeniy Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 28 14:08:26 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL290689: Decrease kLargeMalloc block size in ASAN unit tests. (authored by eugenis).
Changed prior to commit:
https://reviews.llvm.org/D28142?vs=82617&id=82618#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28142
Files:
compiler-rt/trunk/lib/asan/tests/asan_test_utils.h
Index: compiler-rt/trunk/lib/asan/tests/asan_test_utils.h
===================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test_utils.h
+++ compiler-rt/trunk/lib/asan/tests/asan_test_utils.h
@@ -62,7 +62,9 @@
static const int kPageSize = 4096;
-const size_t kLargeMalloc = 1 << 24;
+// Big enough to be handled by secondary allocator and small enough to fit into
+// quarantine for all configurations.
+const size_t kLargeMalloc = 1 << 22;
extern void free_aaa(void *p);
extern void *malloc_aaa(size_t size);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28142.82618.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161228/a7c5518b/attachment.bin>
More information about the llvm-commits
mailing list