]> granicus.if.org Git - llvm/commit
[ORC] Pass object buffer ownership back in NotifyEmitted.
authorLang Hames <lhames@gmail.com>
Wed, 1 May 2019 22:40:23 +0000 (22:40 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 1 May 2019 22:40:23 +0000 (22:40 +0000)
commit5fb18b5a09e07b0ce9a32cde7dd9ca05e8c200ff
treeeb95b014cc898dcfe00c81b7f1ae47bc378a6598
parentf488f84a49dd8f3f7c86925d62ad65948bd13969
[ORC] Pass object buffer ownership back in NotifyEmitted.

Clients who want to regain ownership of object buffers after they have been
linked may now use the NotifyEmitted callback for this purpose.

Note: Currently NotifyEmitted is only called if linking succeeds. If linking
fails the buffer is always discarded.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359735 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp