[PATCH] D35101: [cfi] only add cfi tests on supported arches

Sean Fertile via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 24 18:52:09 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL311745: [cfi] only add cfi tests on supported arches. (authored by sfertile).

Changed prior to commit:
  https://reviews.llvm.org/D35101?vs=109596&id=112646#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D35101

Files:
  compiler-rt/trunk/test/cfi/CMakeLists.txt


Index: compiler-rt/trunk/test/cfi/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/test/cfi/CMakeLists.txt
+++ compiler-rt/trunk/test/cfi/CMakeLists.txt
@@ -36,11 +36,13 @@
   # 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()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35101.112646.patch
Type: text/x-patch
Size: 758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170825/ba85ee10/attachment.bin>


More information about the llvm-commits mailing list