[PATCH] D77704: [LTO][gold] Add support for loading pass plugins
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 22:50:08 PDT 2020
ddcc added a comment.
Here's the updated patch, though it still only works when LLVM is built with `LLVM_LINK_LLVM_DYLIB=ON`. Otherwise, with or without the `LLVM_EXPORTED_SYMBOL_FILE` definition, I get the following error with a static build:
Unable to load plugin: <pass>.so: undefined symbol: _ZNK4llvm4Pass11getPassNameEv
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77704/new/
https://reviews.llvm.org/D77704
More information about the llvm-commits
mailing list