[Sanitizer] Improve unit tests in COMPILER_RT_DEBUG=ON mode.
authorAlexey Samsonov <vonosmas@gmail.com>
Tue, 6 Jan 2015 20:58:40 +0000 (20:58 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Tue, 6 Jan 2015 20:58:40 +0000 (20:58 +0000)
commit6239ebc1c2227adb83745d9a7447e243e694a4f1
tree2bf26fcf84e55d14350235493e568434ce6ae921
parentc8761f4807266f06463e5aaf3953d7bc0e11d759
[Sanitizer] Improve unit tests in COMPILER_RT_DEBUG=ON mode.

Propagate -DSANITIZER_DEBUG definition to unit tests.
Make sure unit tests depend on compiler-rt headers.

llvm-svn: 225298
compiler-rt/cmake/Modules/AddCompilerRT.cmake
compiler-rt/cmake/Modules/CompilerRTCompile.cmake
compiler-rt/lib/msan/tests/CMakeLists.txt
compiler-rt/lib/tsan/tests/CMakeLists.txt