OSDN Git Service

Link to AggressiveInstCombine in a few places. Unbreaks build for me.
authorRoman Lebedev <lebedev.ri@gmail.com>
Tue, 24 Apr 2018 08:40:37 +0000 (08:40 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Tue, 24 Apr 2018 08:40:37 +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/llvm/trunk@330693 91177308-0d34-0410-b5e6-96231b3b80d8

tools/bugpoint/CMakeLists.txt
tools/llvm-opt-fuzzer/CMakeLists.txt
unittests/ExecutionEngine/MCJIT/CMakeLists.txt

index 72c5973..654ecc4 100644 (file)
@@ -6,6 +6,7 @@ set(LLVM_LINK_COMPONENTS
   Core
   IPO
   IRReader
+  AggressiveInstCombine
   InstCombine
   Instrumentation
   Linker
index d2fb07f..39f94a6 100644 (file)
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
   Coroutines
   IPO
   IRReader
+  AggressiveInstCombine
   InstCombine
   Instrumentation
   FuzzMutate
index e29787f..b5f8a14 100644 (file)
@@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS
   Core
   ExecutionEngine
   IPO
+  InstCombine
   MC
   MCJIT
   RuntimeDyld