[llvm-dev] Questions about moving from MCJIT to Orc JIT

Praveen Velliengiri via llvm-dev llvm-dev at lists.llvm.org
Wed Jun 26 23:21:14 PDT 2019

Hi Bjoern,
CC'ing Lang hames

For questions,
1. In short yes, you can replace the memory manager, default one provided
is section memory manager.

2. If you mean by " address of already compiled code", yes you can do that.
 Like this
 JITDylib.define(absoluteSymbols, ( Your_own_symbol ,
JITTargetAddress(Address of function))), now ORC can resolve all the
references to Your_own_symbol to the provided the Address.

3. Yes, all the class/function with legacy prefix will be removed in
subsequent releases.

4. Could please provide some more context on this? Like it's usage model,
what goal you are aiming for?
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190627/27748ecf/attachment.html>

More information about the llvm-dev mailing list