[LLVMdev] Linking static archives with MCJIT?

Kaylor, Andrew andrew.kaylor at intel.com
Wed Sep 25 12:23:58 PDT 2013

OK, so in the old implementation you linked a module against the archive before passing it to MCJIT?

I'm not familiar with the llvm::Linker interface, so I hope someone else will jump in an address that.

I can think of a way to solve this inside MCJIT, but it is almost certainly not what you'd want.


-----Original Message-----
From: Robin Sommer [mailto:robin at icir.org] 
Sent: Wednesday, September 25, 2013 12:02 PM
To: Kaylor, Andrew
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Linking static archives with MCJIT?

On Wed, Sep 25, 2013 at 17:14 +0000, you wrote:

> What API did you use in 3.2?

llvm::Linker used to have a method LinkInLibrary(). My understanding is that there's a larger reorganisation of the linking process going on but I haven't found a straight-forward replacement for that method yet. I might be missing something though. Or perhaps I could even just reuse some code from that old method; need to look at that.


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 mailing list