[Orc] Add an emitAndFinalize method to the ObjectLinkingLayer, IRCompileLayer
authorLang Hames <lhames@gmail.com>
Mon, 16 Feb 2015 22:36:25 +0000 (22:36 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 16 Feb 2015 22:36:25 +0000 (22:36 +0000)
commitae22545f65ce84227ec3ff36caa5c22f7f1af853
treef3436baf794f0dd575f826c5222ce681c68298c2
parentd2f8ee71948854c205c74accf14c2b0b87502fef
[Orc] Add an emitAndFinalize method to the ObjectLinkingLayer, IRCompileLayer
and LazyEmittingLayer of Orc.

This method allows you to immediately emit and finalize a module. It is required
by an upcoming refactor of the indirection utils and the compile-on-demand
layer.

I've filed http://llvm.org/PR22608 to write unit tests for this and other Orc
APIs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229451 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/IRCompileLayer.h
include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h
include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h