[scudo] Relax the memalign test
authorKostya Kortchinsky <kostyak@google.com>
Wed, 14 Dec 2016 16:38:11 +0000 (16:38 +0000)
committerKostya Kortchinsky <kostyak@google.com>
Wed, 14 Dec 2016 16:38:11 +0000 (16:38 +0000)
commita37860acee2d02520e32d20dffd80fe43859b419
treec08e649e7095fda34857ec971c18ee36882f030b
parentebfba7027ea89fbd4e2672d375f65451a7e54cde
[scudo] Relax the memalign test

Summary:
Now that we are not rounding up the sizes passed to the secondary allocator,
the memalign test could run out of aligned addresses to return for larger
alignments. We now reduce the size of the quarantine for that test, and
allocate less chunks for the larger alignments.

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D27760

llvm-svn: 289665
compiler-rt/test/scudo/memalign.cpp