diff options
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/CMakeLists.txt')
| -rw-r--r-- | compiler-rt/lib/tsan/lit_tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/CMakeLists.txt b/compiler-rt/lib/tsan/lit_tests/CMakeLists.txt index 1958ebf5781..6dc90e2367f 100644 --- a/compiler-rt/lib/tsan/lit_tests/CMakeLists.txt +++ b/compiler-rt/lib/tsan/lit_tests/CMakeLists.txt @@ -12,7 +12,7 @@ if("${CMAKE_HOST_SYSTEM}" STREQUAL "${CMAKE_SYSTEM}") # Run TSan output tests only if we're not cross-compiling, # and can be sure that clang would produce working binaries. set(TSAN_TEST_DEPS - clang clang-headers FileCheck count not + clang clang-headers FileCheck count not llvm-symbolizer ${TSAN_RUNTIME_LIBRARIES} ) set(TSAN_TEST_PARAMS @@ -31,6 +31,6 @@ elseif(LLVM_INCLUDE_TESTS) # Otherwise run only TSan unit tests. add_lit_testsuite(check-tsan "Running ThreadSanitizer tests" ${CMAKE_CURRENT_BINARY_DIR}/Unit - DEPENDS TsanUnitTests) + DEPENDS TsanUnitTests llvm-symbolizer) set_target_properties(check-tsan PROPERTIES FOLDER "TSan unittests") endif() |

