[Orc] Add support for updating stub targets to CompileOnDemandLayer.
authorLang Hames <lhames@gmail.com>
Sat, 30 Jul 2016 00:57:54 +0000 (00:57 +0000)
committerLang Hames <lhames@gmail.com>
Sat, 30 Jul 2016 00:57:54 +0000 (00:57 +0000)
commitc31d594228f9bcd555f2e7439f33023cba192c15
tree5c7acfa7d1d6f32702f550362f323361b619af8c
parentbc1b58d08609a17d3d25d9a506a89b2df93dbbc0
[Orc] Add support for updating stub targets to CompileOnDemandLayer.

This makes it possible to implement re-optimization on top of the
CompileOnDemandLayer.

Test case to come in a future patch: This will need an execution test, and
execution tests require a full working stack. The best option is to plumb this
API up to the C Bindings stack and add a C bindings test for this.

Patch by Sean Ogden. Thanks Sean!

llvm-svn: 277257
llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
llvm/include/llvm/ExecutionEngine/Orc/LogicalDylib.h