New GlobalMappingLayer for Orc

Andy Somogyi via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 22:29:40 PDT 2015


Attached is a patch that contains the new GlobalMappingLayer for Orc. 

This layer allows existing global values to be added and resolved in the Orc JIT just like it was possible with ExecutionEngine. The Orc kaleidoscope example was updated to use the new GlobalMappingLayer, and actually use the three defined external functions. 

The new layer contains all the functionality that ExecutionEngine had, and with this layer, it should be very straightforward to finish the OrcMCJITReplacement to reference existing C functions and data. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150822/ced0c83e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-GlobalMappingLayer-to-allow-existing-functions-t.patch
Type: application/octet-stream
Size: 16134 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150822/ced0c83e/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150822/ced0c83e/attachment-0001.html>


More information about the llvm-commits mailing list