[asan] use MADV_NOHUGEPAGE for shadow to reduce the actual memory usage
authorKostya Serebryany <kcc@google.com>
Wed, 21 Jan 2015 02:05:31 +0000 (02:05 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 21 Jan 2015 02:05:31 +0000 (02:05 +0000)
commitc6338ac943099db46e700a03fb7e7c90e2ffd4d8
tree5449f311b8bfdd05bb2f15f8704ce1096e7937b5
parented3228aa5fd9ee68a803e4a7905027117510642c
[asan] use MADV_NOHUGEPAGE for shadow to reduce the actual memory usage

llvm-svn: 226636
compiler-rt/lib/asan/asan_internal.h
compiler-rt/lib/asan/asan_poisoning.h
compiler-rt/lib/asan/asan_rtl.cc
compiler-rt/lib/sanitizer_common/sanitizer_common.h
compiler-rt/lib/sanitizer_common/sanitizer_flags.inc
compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc
compiler-rt/lib/sanitizer_common/sanitizer_win.cc
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc
compiler-rt/test/asan/TestCases/Linux/nohugepage_test.cc [new file with mode: 0644]