[asan] simplify the code that poisons global redzones, add some more tests

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173251 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add missing interceptors


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173253 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add stubs for malloc introspection (similar to what we have in asan)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173255 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] initialize kHighMemEnd at startup (instead of at compile time) to simplify further changes for various address space layouts. Fix asan_allocator2 for PowerPC (tested on 44-bit address space)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173260 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] increase the minimal mmap size in allocator to 2^16; fix the asan Mac build 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173261 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Allow waitpid while in __msan_init().

This is used in symbolizer init.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173263 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: also test asan during presubmit checks, because sanitizer_common changes can affect it


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173327 91177308-0d34-0410-b5e6-96231b3b80d8
asan/tsan: fix pwrite interceptors


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173328 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: implement malloc stats querying


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173332 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] fix compilation on Mac by adding a missing pwrite parameter.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173333 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] run-time tests for adaptive redzones 

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173336 91177308-0d34-0410-b5e6-96231b3b80d8