aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2018-04-24 08:40:37 +0000
committerRoman Lebedev <lebedev.ri@gmail.com>2018-04-24 08:40:37 +0000
commitc3aaa9b38e1680c934cb16a3f65ee8e3a2cae693 (patch)
treec1a6e2ddbd91c5574bacf0fd56960ab62ee68d5f
parenta92eb5b1f3c6bf799b20b699af924ccf871b8b03 (diff)
Link to AggressiveInstCombine in a few places. Unbreaks build for me.
/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
-rw-r--r--tools/bugpoint/CMakeLists.txt1
-rw-r--r--tools/llvm-opt-fuzzer/CMakeLists.txt1
-rw-r--r--unittests/ExecutionEngine/MCJIT/CMakeLists.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/tools/bugpoint/CMakeLists.txt b/tools/bugpoint/CMakeLists.txt
index 72c597379c8..654ecc496a9 100644
--- a/tools/bugpoint/CMakeLists.txt
+++ b/tools/bugpoint/CMakeLists.txt
@@ -6,6 +6,7 @@ set(LLVM_LINK_COMPONENTS
Core
IPO
IRReader
+ AggressiveInstCombine
InstCombine
Instrumentation
Linker
diff --git a/tools/llvm-opt-fuzzer/CMakeLists.txt b/tools/llvm-opt-fuzzer/CMakeLists.txt
index d2fb07f96fc..39f94a681e2 100644
--- a/tools/llvm-opt-fuzzer/CMakeLists.txt
+++ b/tools/llvm-opt-fuzzer/CMakeLists.txt
@@ -8,6 +8,7 @@ set(LLVM_LINK_COMPONENTS
Coroutines
IPO
IRReader
+ AggressiveInstCombine
InstCombine
Instrumentation
FuzzMutate
diff --git a/unittests/ExecutionEngine/MCJIT/CMakeLists.txt b/unittests/ExecutionEngine/MCJIT/CMakeLists.txt
index e29787f8f42..b5f8a14c41c 100644
--- a/unittests/ExecutionEngine/MCJIT/CMakeLists.txt
+++ b/unittests/ExecutionEngine/MCJIT/CMakeLists.txt
@@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
IPO
+ InstCombine
MC
MCJIT
RuntimeDyld