[LLVMdev] Linking static archives with MCJIT?
robin at icir.org
Wed Sep 25 12:32:22 PDT 2013
On Wed, Sep 25, 2013 at 19:23 +0000, you wrote:
> OK, so in the old implementation you linked a module against the
> archive before passing it to MCJIT?
Yes, I used a Linker instance to link together a number of my own
modules and a static library, and then get a single new LLVM module
out of that to hand over to MCJIT.
> I can think of a way to solve this inside MCJIT, but it is almost
> certainly not what you'd want.
Whatever makes the symbols from the .a available to the MCJITed code
would work for me, but I can't tell if that's better done inside or
outside of MCJIT itself.
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org/robin
More information about the llvm-dev