tsan: add new line at the end of error message



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202470 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Fix PR18987: discard /MD flag if we're adding /MT

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

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202476 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] a test for recursive rwlock and deadlock detector (currently fails)

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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202484 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: refactor deadlock detector
Introduce DDetector interface between the tool and the DD itself.
It will help to experiment with other DD implementation,
as well as reuse DD in other tools.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202485 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] speedup deadlock detector for the case when we destroy a mutex that has never been locked

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202487 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] speedup deadlock detector for the case when we acquire the first lock in a thread

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202492 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: prevent actual deadlock in deadlock detector test



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202502 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add include guards



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202503 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: allow to force use of __libc_malloc in sanitizer_common


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202504 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: add standalone deadlock detector



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202505 91177308-0d34-0410-b5e6-96231b3b80d8
Consistently use COMPILER_RT_ABI for all public symbols.
Move prototypes into headers and fix a few inconsistencies.


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


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202592 91177308-0d34-0410-b5e6-96231b3b80d8
Move __clzti2 into 128bit fragment.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202593 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: remove autogenerated file 



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202704 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: replace deadlock detector custom build script with cmake file



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202708 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Tests for X86 SIMD bitshift intrinsic support.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202713 91177308-0d34-0410-b5e6-96231b3b80d8
[asan] Fix Android configure/make build.

Mirror recent cmake changes in the configure/make build system.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202793 91177308-0d34-0410-b5e6-96231b3b80d8
[CMake] Fix add_sanitizer_rt_symbols on multi-config CMake generators.

Patch by Brad King.

When using a multi-config generator with CMake, such as for VS or Xcode,
the LOCATION target property value contains a placeholder such as
"$(Configuration)" that is meant for substitution by the native build
tool. The install(FILES) command does not understand this name and will
not install the symbols file correctly when using these generators.

Teach add_sanitizer_rt_symbols to read the more-specific target property
LOCATION_<CONFIG> that has a per-configuration value and no placeholder.
On single-configuration generators (Makefile, Ninja), CMAKE_BUILD_TYPE
contains the name of the one configuration to be built.  On multi-config
generators (VS, Xcode), CMAKE_CONFIGURATION_TYPES contains the list of
possible configurations.  In the latter case, loop over the configs and
add a configuration-specific install(FILES) rule for each one.

Place the code block inside an if(TRUE) block so it can be made
conditional in a following change without updating indentation.


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