r212084 - driver: add link dependency on CodeGen
Alp Toker
alp at nuanti.com
Mon Jun 30 19:42:02 PDT 2014
Author: alp
Date: Mon Jun 30 21:42:02 2014
New Revision: 212084
URL: http://llvm.org/viewvc/llvm-project?rev=212084&view=rev
Log:
driver: add link dependency on CodeGen
Fix the build when no targets are enabled. This dependency is incurred by two
unfortunate entries in LinkAllPasses.h included from cc1_main.cpp:
llvm::createJumpInstrTablesPass();
llvm::createCodeGenPreparePass();
Modified:
cfe/trunk/tools/driver/CMakeLists.txt
Modified: cfe/trunk/tools/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/CMakeLists.txt?rev=212084&r1=212083&r2=212084&view=diff
==============================================================================
--- cfe/trunk/tools/driver/CMakeLists.txt (original)
+++ cfe/trunk/tools/driver/CMakeLists.txt Mon Jun 30 21:42:02 2014
@@ -1,6 +1,7 @@
set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
+ CodeGen
Core
IPA
IPO
More information about the cfe-commits
mailing list