tsan: add a test that used to crash, fixed by r180180.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180251 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Add allow_user_segv_handler to let users override SEGV handler installed by ASan

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180255 91177308-0d34-0410-b5e6-96231b3b80d8
Add -fno-rtti to ASan runtime cflags on Android.

Otherwise we are picking up an extra libstdc++ dependency.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180265 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Clear LD_PRELOAD when forking an external symbolizer.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180599 91177308-0d34-0410-b5e6-96231b3b80d8
Revert r180599 "[sanitizer] Clear LD_PRELOAD when forking an external symbolizer."

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180602 91177308-0d34-0410-b5e6-96231b3b80d8
asna/tsan/msan: fix wait() interceptors to allow NULL arguments


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180703 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add interface functions for unaligned access, e.g. __sanitizer_unaligned_load16


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180780 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: reverse stack trace for failed CHECK's, this is how we print traces in other places


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180781 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix deadlock detector table (OK to lock sync var mutex during reporting)


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180782 91177308-0d34-0410-b5e6-96231b3b80d8
asan/tsan: fix printf(), on the second pass it prints garbage and crashes on random pointer dereference


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180784 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: comment out debug output in test


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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@180788 91177308-0d34-0410-b5e6-96231b3b80d8
Rewrite sw_vers makefile check to avoid error message on Linux.

When building compiler-rt on Linux, the "which sw_vers" check fails and
writes an error message into the build log. Apparently on Solaris "which"
writes the error message to stdout, so that the current test won't even
work properly. As far as I know sw_vers always lives in /usr/bin, so just
check for it there instead of using "which".

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