[PATCH] New JIT APIs (ORC)

Lang Hames lhames at gmail.com
Mon Jan 19 15:22:22 PST 2015


Hi All,

Attached is an updated patch (against r226514) for the Orc JIT APIs that
were discussed on the llvm-dev list the other day.

The impact on existing code is minimal. A new flag (-use-orc) is added to
lli to allow the Orc-based MCJITReplacement class to be substituted as the
execution engine. I expect this will be useful for testing. A new method,
getSymbolAddressInLogicalDylib, is added to RTDyldMemoryManager, however
this can be safely ignored by MCJIT users - it's only there to support Orc.

There are no tests yet. I hope to start addressing this soon, but my
preference would be to get this in tree so everyone can muck around with it
and contribute tests.

Questions and comments welcome.

Cheers,
Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150119/75e6e4b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Orc-2015-01-19.patch
Type: application/octet-stream
Size: 102261 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150119/75e6e4b1/attachment.obj>


More information about the llvm-commits mailing list