[llvm-dev] Memory allocated for JIT compiled code

Dibyendu Majumdar via llvm-dev llvm-dev at lists.llvm.org
Fri Oct 16 18:02:33 PDT 2015


Hi,

I am looking for ways to reduce the memory consumption in my JIT
compiler that uses LLVM. In my implementation a compiled function
lives in its own module. After compiling the function/module I would
like to be able to discard any memory associated with the module but
retain the compiled code. How can I do this?

I am currently using MCJIT but if the new ORC API supports this then I
will be happy to migrate to it.

Thanks and Regards

Dibyendu


More information about the llvm-dev mailing list