[LLVMdev] jit with external functions

Ram Bhamidipaty rambham at gmail.com
Fri Dec 8 22:09:33 PST 2006


I have an application that is generating llvm assembler text files, these
are then loaded with ParseAssemblyFile. I am also using
ExecutionEngine::runFunction
to call functions in the loaded/created modules.

Can I place references to external functions in the assembler files? For example
I if my application has a function called fred() I would like to place
calls to fred
in the assembler text file. Can I do that and have the external function call
resolve to the address of fred() in my application?

Thanks for any assistance.
-Ram



More information about the llvm-dev mailing list