[PATCH] D120230: [SelectOpti][1/5] Setup new select-optimize pass
Jun Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 21 20:02:26 PDT 2022
junaire added a comment.
Hey, Looks like this commit breaks the shared lib build, can you please take a look at it?
ld.lld: error: undefined symbol: llvm::initializeSelectOptimizePass(llvm::PassRegistry&)
>>> referenced by CodeGen.cpp:110 (/home/jun/dev/llvm-project/llvm/lib/CodeGen/CodeGen.cpp:110)
>>> lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/CodeGen.cpp.o:(llvm::initializeCodeGen(llvm::PassRegistry&))
ld.lld: error: undefined symbol: llvm::createSelectOptimizePass()
>>> referenced by TargetPassConfig.cpp:947 (/home/jun/dev/llvm-project/llvm/lib/CodeGen/TargetPassConfig.cpp:947)
>>> lib/CodeGen/CMakeFiles/LLVMCodeGen.dir/TargetPassConfig.cpp.o:(llvm::TargetPassConfig::addIRPasses())
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[4/50] Linking CXX shared library lib/libclangSema.so.15git
ninja: error: rebuilding 'build.ninja': subcommand failed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120230/new/
https://reviews.llvm.org/D120230
More information about the llvm-commits
mailing list