tsan: fix crash when user defines own fopen/fileno


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171967 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Unbreak the 32-bit RTL build

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171968 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan/Win] Satisfy lint

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171970 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] make the slow unwinder a bit more robust. The unittests pass with fast_unwind_on_fatal=0, but I still observe some differences between the two unwinders

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171973 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: detect races on fd passed to epoll_ctl


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@171981 91177308-0d34-0410-b5e6-96231b3b80d8
[ubsan] Give entry methods default (not hidden) visibility.

Fixes using ubsan on shared libraries in linux, for example.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172041 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] better protect the tests from memset/memcpy inlining, explicitly include unistd.h

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@172045 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] asan_allocator2: do less work under the quarantine lock; make the strcasecmp test more resistant to the contents of unaddressable memory 

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