[sanitizer] enable random shuffling the memory chunks inside the allocator, under...
authorKostya Serebryany <kcc@google.com>
Fri, 26 Aug 2016 00:06:03 +0000 (00:06 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 26 Aug 2016 00:06:03 +0000 (00:06 +0000)
commit7c5ae7cbc60f1196bd4cde77c68f4b6995596215
treefee79146dcf4b8db1758bfb4111e88854541e704
parent1426f59a76591ed507d81f1593e34fd3894b8231
[sanitizer] enable random shuffling the memory chunks inside the allocator, under a flag. Set this flag for the scudo allocator, add a test.

llvm-svn: 279793
compiler-rt/lib/asan/asan_allocator.h
compiler-rt/lib/lsan/lsan_allocator.cc
compiler-rt/lib/msan/msan_allocator.cc
compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cc
compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cc
compiler-rt/lib/scudo/scudo_allocator.cpp
compiler-rt/lib/tsan/rtl/tsan_rtl.h
compiler-rt/test/scudo/random_shuffle.cpp [new file with mode: 0644]