[PATCH] New tool libLLVM.dylib for clients who want to dynamically link all of LLVM

Justin Bogner mail at justinbogner.com
Thu Aug 21 18:00:35 PDT 2014


Chris Bieneman <cbieneman at apple.com> writes:
> This patch adds a new tool libLLVM.dylib which exports the full C API,
> and can be optionally built for clients who want to link LLVM
> dynamically.
>
> I will be working on some more build system extensions to allow users
> to better fine-tune the dylib to their uses.

Two high level comments:

1. This adds the LLVM_BUILD_LLVM_DYLIB cmake option, but doesn't
   actually use it.

2. I think the exports list might need to be generated dynamically to
   work properly with LLVM_TARGETS_TO_BUILD, since some symbols go away
   in such configurations.



More information about the llvm-commits mailing list