[LLVMdev] [Proposal] Adding callback mechanism to Execution Engines

Kaylor, Andrew andrew.kaylor at intel.com
Fri Nov 1 14:40:00 PDT 2013


Are you using the latest code from trunk?  I didn't think the latest code used the address mapping in the ExecutionEngine base class.

Of course, if people are depending on this it might be something that should be fixed if it isn't working.

-Andy

From: Caldarale, Charles R [mailto:Chuck.Caldarale at unisys.com]
Sent: Friday, November 01, 2013 10:54 AM
To: Kaylor, Andrew; sumeeth kc; LLVM Dev
Subject: RE: [LLVMdev] [Proposal] Adding callback mechanism to Execution Engines

> From: llvmdev-bounces at cs.uiuc.edu<mailto:llvmdev-bounces at cs.uiuc.edu> [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Kaylor, Andrew
> Subject: Re: [LLVMdev] [Proposal] Adding callback mechanism to Execution Engines

> If the function is in a statically linked module, you need to do something to explicitly expose it.  With
> the older JIT engine you can use addGlobalMapping as Yaron suggests, but I don't think that will work
> with MCJIT.

Seems to work fine for us with MCJIT.

- Chuck

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


More information about the llvm-dev mailing list