Displaying 2 results from an estimated 2 matches for "r286026".
2016 Oct 28
4
MCJit and remove module memory leak?
I'm on llvm 3.8.1 and was wondering if there's a memory leak in the
removeModule impl of mcjit.
In the tutorial http://llvm.org/releases/3.8.1/docs/tutorial/LangImpl4.html
a module is removed from the Jit by invoking removeModule.
According to the tutorial:
"Its API is very simple:: addModule adds an LLVM IR module to the JIT,
making its functions available for execution;
2016 Nov 16
2
MCJit and remove module memory leak?
...er using MCJIT - it has been moved over to the
>> > ORC-based KaleidoscopeJIT class (see
>> > llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h). The
>> removeModule
>> > method there does not leak memory.
>> > I've added documentation in r286026 to describe MCJIT removeModule's
>> > crazy ownership contract.
>> > This will be fixed properly when we kill off ExecutionEngine. :)
>>
>> Does this mean MCJIT is dead/deprecated and projects using it should start
>> migrating away now? If so, what'...