[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.

llvm-svn: 315581
This commit is contained in:
Vlad Tsyrklevich 2017-10-12 14:42:26 +00:00
parent 5d62569b04
commit 1d47365259
1 changed files with 1 additions and 1 deletions

View 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)