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

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 17:58:24 PDT 2019


mehdi_amini requested changes to this revision.
mehdi_amini added a comment.
This revision now requires changes to proceed.

> unfortunately does not solve the more general problem that not all symbols are available to plugins in statically linked tools. I am open for better solutions.

What about "force-load" the archive libraries on link? See what we do in MLIR here: https://github.com/tensorflow/mlir/blob/master/CMakeLists.txt#L22


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