[PATCH] New GlobalMappingLayer for Orc

Andy Somogyi via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 14:31:59 PDT 2015


Hey Lang, 

Would you mind having a look at this patch, it adds a new GlobalMappingLayer to Orc, and it can be used in the new Kaleidoscope updates to add existing global mappings like were possible with the previous JIT ExecutionEngine. 



> On Aug 22, 2015, at 1:29 AM, Andy Somogyi <andy.somogyi at gmail.com> wrote:
> 
> 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. 
> 
> 
> <0001-New-GlobalMappingLayer-to-allow-existing-functions-t.patch>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150825/9860c3e2/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/20150825/9860c3e2/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150825/9860c3e2/attachment-0001.html>


More information about the llvm-commits mailing list