Author: Jonas Devlieghere Date: 2019-11-06T15:24:49-08:00 New Revision: 703c97be2492dfb0e4f3138e47fc1fe71c91adfa
URL: https://github.com/llvm/llvm-project/commit/703c97be2492dfb0e4f3138e47fc1fe71c91adfa DIFF: https://github.com/llvm/llvm-project/commit/703c97be2492dfb0e4f3138e47fc1fe71c91adfa.diff LOG: [lldb] Mark ASan & TSan as test dependencies Without asan and tsan as test dependencies, you might end up with a clang that points to sanitizer runtime library that hasn't been build yet. Added: Modified: lldb/test/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 759006f818fd..e5704f662f7a 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -75,8 +75,16 @@ endif() # This works with standalone builds as they import the clang target. if(TARGET clang) add_lldb_test_dependency(clang) + + if(TARGET asan) + add_lldb_test_dependency(asan) + endif() + + if(TARGET tsan) + add_lldb_test_dependency(tsan) + endif() + if(APPLE) - # If we build clang, we should build libcxx. # FIXME: Standalone builds should import the cxx target as well. if(LLDB_BUILT_STANDALONE) # For now check that the include directory exists. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits