forked from OSchip/llvm-project
[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:
parent
5d62569b04
commit
1d47365259
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue