CFI: Make check-cfi depend on libLTO on Darwin.

llvm-svn: 232426
This commit is contained in:
Peter Collingbourne 2015-03-16 22:00:04 +00:00
parent a1877598aa
commit 3fc1563ad7
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ if(NOT COMPILER_RT_STANDALONE_BUILD)
LLVMgold
)
endif()
if(APPLE)
list(APPEND CFI_TEST_DEPS
LTO
)
endif()
endif()
add_lit_testsuite(check-cfi "Running the cfi regression tests"