[LLVMdev] Linking Modules with the C API

Eric Dobson eric.n.dobson at gmail.com
Sun Oct 24 15:05:41 PDT 2010


I am using the C API to build up an IR representation of a module and then run it via the JIT. I have gotten to the point that putting everything in one module is starting to get to be too much. I want to be able to link two modules together and then run them. Searching through the internet it looks like this is possible with the C++ API using the Linker class. Is there an exposed way of doing this with the C API? My current stop gap is to call out to llvm-link but this seems messy.

Thanks,
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 235 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101024/fd86df9c/attachment.sig>


More information about the llvm-dev mailing list