[ASan] fix a bug in allocator-v2 which could lead to SEGV on realloc(malloc(0), 4)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173681 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Remove icmp tests that require exact shadow propagation.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173686 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] A runtime call to support custom allocators.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173687 91177308-0d34-0410-b5e6-96231b3b80d8
Use the correct order of NOINLINE vs ret type to fix Windows build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173694 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Do allocate memory even for zero-size allocation requests. Explain why we have to do this in comments.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173776 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] fix deallocation hook in allocator2: according to specification, dealloc hook should be called before deallocating memory

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173778 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add interceptor stubs for stat family of functions


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173782 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173783 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix the message (tsan is not asan)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@173784 91177308-0d34-0410-b5e6-96231b3b80d8
asan: fix the test


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