From: Vlad Tsyrklevich Date: Thu, 12 Oct 2017 14:42:26 +0000 (+0000) Subject: [cfi-verify] Fix typo, actually check X86 target X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8c3c21d5e77bd6fe4afd3043efd27739577b172;p=llvm [cfi-verify] Fix typo, actually check X86 target The typo in r315556 disabled the cfi-verify unit tests from building unconditionally, have it correctly check for the X86 target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315581 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/tools/llvm-cfi-verify/CMakeLists.txt b/unittests/tools/llvm-cfi-verify/CMakeLists.txt index 110b377530c..0f389592bdd 100644 --- a/unittests/tools/llvm-cfi-verify/CMakeLists.txt +++ b/unittests/tools/llvm-cfi-verify/CMakeLists.txt @@ -11,7 +11,7 @@ set(LLVM_LINK_COMPONENTS Support ) -list(FIND LLVM_ARGETS_TO_BUILD "X86" x86_idx) +list(FIND LLVM_TARGETS_TO_BUILD "X86" x86_idx) if (NOT x86_idx LESS 0) add_llvm_unittest(CFIVerifyTests FileAnalysis.cpp)