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,11 +36,13 @@ elseif(WIN32)
|
|||
# FIXME: enable ThinLTO tests after fixing http://llvm.org/pr32770
|
||||
add_cfi_test_suites(True False)
|
||||
else()
|
||||
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)
|
||||
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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue