forked from OSchip/llvm-project
[cfi] only add cfi tests on supported arches.
Differential Revision: https://reviews.llvm.org/D35101 llvm-svn: 311745
This commit is contained in:
parent
2592327dae
commit
6e5e0bcd80
|
@ -36,12 +36,14 @@ elseif(WIN32)
|
|||
# FIXME: enable ThinLTO tests after fixing http://llvm.org/pr32770
|
||||
add_cfi_test_suites(True False)
|
||||
else()
|
||||
if (CFI_SUPPORTED_ARCH)
|
||||
add_cfi_test_suites(False False)
|
||||
add_cfi_test_suites(False True)
|
||||
if (COMPILER_RT_HAS_LLD)
|
||||
add_cfi_test_suites(True False)
|
||||
add_cfi_test_suites(True True)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(CFI_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
|
||||
|
|
Loading…
Reference in New Issue