mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-03 19:32:35 +00:00
[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.
This commit is contained in:
parent
a6b5daa701
commit
703c97be24
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user