[LLVMdev] New JIT APIs

Caldarale, Charles R Chuck.Caldarale at unisys.com
Fri Jan 16 14:47:40 PST 2015


> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Armin Steinhoff
> Subject: Re: [LLVMdev] New JIT APIs

> The MCJIT API can only be used once to JIT compile external souces to excuteable code 
> into the address space of a running process.

> That means: after the first successfull JIT compile it isn't possible to do it again 
> within the same active process) ... because of some resource issues.

We compile many thousands of modules and execute them in the same process without running out of resources.  We do recycle the LLVMContext and IRBuilder objects after some number of compilations to keep the constant pool from getting out of hand.

 - Chuck





More information about the llvm-dev mailing list