[LLVMdev] Memory clean for applications using LLVM for JIT compilation

Dirkjan Bussink d.bussink at gmail.com
Sat Mar 16 08:35:26 PDT 2013


On Mar 7, 2013, at 20:48 , Frank Henigman <fjhenigman at google.com> wrote:

> I derived a class from JITMemoryManager which delegates everything to
> an instance made with CreateDefaultMemManager().  ExecutionEngine
> destroys the wrapper, but I keep the inner instance which did the
> actual work.  Works, but seems a bit ugly.  Did you find any other
> solutions?

I ended up implementing the exact same thing, it feels dirty but it has worked great for us so far. 

-- 
Dirkjan



More information about the llvm-dev mailing list