tsan: fix compiler warning
error: address of array 'tctx->name' will always evaluate to 'true'



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202008 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Interception macros for sanitizers on FreeBSD; patch by Viktor Kutuzov

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202009 91177308-0d34-0410-b5e6-96231b3b80d8
AdjustStackSizeLinux() is used in Lsan, Tsan and Msan non-Linux-specific code so it seems it should have more generic name and moved to a common scope.
Renamed to AdjustStackSize.
Patch by Viktor Kutuzov.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202011 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Avoid hardcoding library path in test binary.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202013 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Add a test for interceptors in shared libraries.


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

Failing on the bots for an unknown reason.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202016 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Introduce COMPILER_RT_ENABLE_WERROR option

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202021 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: fix SIGRTMAX handling



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202022 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Better support for COMPILER_RT_ENABLE_WERROR. Make sure compiler-rt libraries are build by 'make all' command

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202023 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] A test was reverted, but not "svn rm"-ed in r202016.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202025 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] one more test for deadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202026 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] simplify the code that compute the shadow offset; get rid of two internal flags that allowed to override it. The tests pass, but still this change might break asan on some platform not covered by tests. If you see this, please submit a fix with a test.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202033 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Add a test for interceptors in shared libraries.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202037 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] fix epoch handling in deadlock detector (before the fix, we could have had edges from locks in the previous epoch to locks in the current epoch)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202118 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] add support for try_lock in deadlock detector

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202120 91177308-0d34-0410-b5e6-96231b3b80d8
Enable UBSan on FreeBSD. Patch by Viktor Kutuzov.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202122 91177308-0d34-0410-b5e6-96231b3b80d8
[tsan] add deadlock detector tests for pthread_spin_lock

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202123 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix for size_t in Asan's new and delete operators on x64 FreeBSD in 32-bit mode, only for FreeBSD <= 9.2; patch by Viktor Kutuzov

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202124 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] partially support pthread_rwlock_* (no rd* form yet)

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202128 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] support pthread_rwlock_rd* in deadlock detector

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