[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