Skip to content

Commit e931b02

Browse files
committed
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. llvm-svn: 330694
1 parent 68e0dae commit e931b02

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/lib/CodeGen/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ set(LLVM_LINK_COMPONENTS
77
Coverage
88
IPO
99
IRReader
10+
AggressiveInstCombine
1011
InstCombine
1112
Instrumentation
1213
LTO

clang/tools/driver/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set( LLVM_LINK_COMPONENTS
44
CodeGen
55
Core
66
IPO
7+
AggressiveInstCombine
78
InstCombine
89
Instrumentation
910
MC

0 commit comments

Comments
 (0)