diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-04-22 11:18:14 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-04-22 11:18:14 +0000 |
commit | aa673486c4ab348e109a07c6ef50d3855924ae55 (patch) | |
tree | cfca5df24445c2b5fee88f130094a115e58b61fd /compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc | |
parent | 743d68c3cb8c178f558f1e5117afae92cea8413f (diff) | |
download | bcm5719-llvm-aa673486c4ab348e109a07c6ef50d3855924ae55.tar.gz bcm5719-llvm-aa673486c4ab348e109a07c6ef50d3855924ae55.zip |
Revert "[sanitizer] Allow the sanitizer allocator to use a non-fixed address range. An allocator with a non-fixed address range will be attack-resistan. NFC for the sanitizers at this point."
This reverts commit r267094, because it broke a lot of MSAN tests in AArch64.
Being NFC and all, this needs some deeper investigation before it goes in again.
llvm-svn: 267136
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc')
-rw-r--r-- | compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc index bdb3e3d119a..1a4c5501a92 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc @@ -37,8 +37,7 @@ namespace { static const uptr kAllocatorSpace = 0x600000000000ULL; static const uptr kAllocatorSize = 0x10000000000ULL; // 1T. -typedef SizeClassAllocator64<~(uptr)0, kAllocatorSize, 0, -// typedef SizeClassAllocator64<kAllocatorSpace, kAllocatorSize, 0, +typedef SizeClassAllocator64<kAllocatorSpace, kAllocatorSize, 0, CompactSizeClassMap> PrimaryAllocator; typedef SizeClassAllocatorLocalCache<PrimaryAllocator> AllocatorCache; typedef LargeMmapAllocator<> SecondaryAllocator; |