]> granicus.if.org Git - clang/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330694 91177308-0d34-0410-b5e6-96231b3b80d8

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

index dd900368bbbbf4102e8d9bcc6e12989045934468..29e54966a0e82552ff8071279434317b333f8e9e 100644 (file)
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
   Coverage
   IPO
   IRReader
+  AggressiveInstCombine
   InstCombine
   Instrumentation
   LTO
index 27566f7070b61750b12e48044d5c5b95c377c8b5..479e2d7aef07532524104c615882df6df060aea2 100644 (file)
@@ -4,6 +4,7 @@ set( LLVM_LINK_COMPONENTS
   CodeGen
   Core
   IPO
+  AggressiveInstCombine
   InstCombine
   Instrumentation
   MC