OSDN Git Service

[cfi-verify] Fix typo, actually check X86 target
authorVlad Tsyrklevich <vlad@tsyrklevich.net>
Thu, 12 Oct 2017 14:42:26 +0000 (14:42 +0000)
committerVlad Tsyrklevich <vlad@tsyrklevich.net>
Thu, 12 Oct 2017 14:42:26 +0000 (14:42 +0000)
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

unittests/tools/llvm-cfi-verify/CMakeLists.txt

index 110b377..0f38959 100644 (file)
@@ -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)