Link to AggressiveInstCombine in a few places. Unbreaks build for me.
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 24 Apr 2018 08:40:44 +0000 (08:40 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 24 Apr 2018 08:40:44 +0000 (08:40 +0000)
/usr/local/bin/ld.lld: error: undefined symbol: llvm::createAggressiveInstCombinerPass()
>>> referenced by cc1_main.cpp
>>>               tools/clang/tools/driver/CMakeFiles/clang.dir/cc1_main.cpp.o:(_GLOBAL__sub_I_cc1_main.cpp)

And so on

The bot coverage is clearly missing.

llvm-svn: 330694

clang/lib/CodeGen/CMakeLists.txt
clang/tools/driver/CMakeLists.txt

index dd90036..29e5496 100644 (file)
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
   Coverage
   IPO
   IRReader
+  AggressiveInstCombine
   InstCombine
   Instrumentation
   LTO
index 27566f7..479e2d7 100644 (file)
@@ -4,6 +4,7 @@ set( LLVM_LINK_COMPONENTS
   CodeGen
   Core
   IPO
+  AggressiveInstCombine
   InstCombine
   Instrumentation
   MC