[PATCH] D53778: [CMAKE] Specify all_load when exporting symbols from an executable (macOS)

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 26 15:38:31 PDT 2018


beanz added a comment.

I'm not really sure this is the best solution. This will result in bloating the clang binary substantially. An alternative approach would be to use linker order precedence, and pass the LLVM executable first, then LLVM static archives later on the link line. That would allow minimal tool binaries, and link the LLVM bits into your plugin.


Repository:
  rL LLVM

https://reviews.llvm.org/D53778





More information about the llvm-commits mailing list