[LLVMdev] how to call the function in hosting code from JITted IR code..?

Younwook Jang younwook at gmail.com
Tue May 27 22:41:39 PDT 2014


Dears,

I'm trying to call the function that defined in the host application from
IR code, but LLVM is saying that there is no such function...

I've seen the tutorial of Kaleidoscope, and defined the function as
extern "C" {
void test1(void) {
  cout << "test function in the host application \n" ;
}
}

...in the host application.

Would you please let me give any idea or comment for this topic...?

thanks, regards...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140528/c7ce4103/attachment.html>


More information about the llvm-dev mailing list