[LLVMdev] New JIT APIs
Armin Steinhoff
armin at steinhoff.de
Sun Jan 18 06:35:38 PST 2015
Hi all,
is
delete EE; // execution engine
llvm_shutdown();
sufficient ?
Regards
Armin
Armin Steinhoff schrieb:
> Caldarale, Charles R schrieb:
>>> 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
>>
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150118/d0209956/attachment.html>
More information about the llvm-dev
mailing list