[LLVMdev] Calling between modules

Aaron Aaron llvmification at gmail.com
Mon Jan 14 21:54:12 PST 2008


Hello,
I am fairly new to LLVM development.  Currently I am trying to treat LLVM
modules almost like ".o" files in a "normal" development environment, and
then calling functions in one module from another module.  Is this possible?

Basically, I want self contained chunks of code with dependencies on
functions in other self contained chunks that get resolved at JIT time.  I
figured since the ExecutionEngine has an "addModuleProvider" function, this
sort of behavior is supported.  If not, what is addModuleProvider's intended
use?

When I can get LLVM to do what I want, it is truly incredible!  Thanks for a
great project!

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080114/a5165e1d/attachment.html>


More information about the llvm-dev mailing list