[llvm] r315581 - [cfi-verify] Fix typo, actually check X86 target

Vlad Tsyrklevich via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 07:42:27 PDT 2017


Author: vlad.tsyrklevich
Date: Thu Oct 12 07:42:26 2017
New Revision: 315581

URL: http://llvm.org/viewvc/llvm-project?rev=315581&view=rev
Log:
[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.

Modified:
    llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt

Modified: llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt?rev=315581&r1=315580&r2=315581&view=diff
==============================================================================
--- llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt (original)
+++ llvm/trunk/unittests/tools/llvm-cfi-verify/CMakeLists.txt Thu Oct 12 07:42:26 2017
@@ -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)




More information about the llvm-commits mailing list