[PATCH] D65295: [opt] Ensure the IR-Linker is available to plugins.

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 09:46:17 PDT 2019


beanz requested changes to this revision.
beanz added a comment.

The CMake build system option `PLUGIN_TOOL` on `add_llvm_loadable_module` is for this specific purpose, it instructs the link step for the plugin dylib to resolve symbols against the tool.

Polly likely needs to generate different libraries for being a clang plugin vs being an opt plugin, but that is expected and the correct solution to this problem.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65295/new/

https://reviews.llvm.org/D65295





More information about the llvm-commits mailing list