summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2019-10-15 21:41:12 +0000
committerLang Hames <lhames@gmail.com>2019-10-15 21:41:12 +0000
commita98546ebcd2a692e0634c5b1a7e77471316ab6e0 (patch)
tree82d178f9a0f31edbd77f933a12bf6dce348de60b /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py
parent75b991ebdf85f2a7a8914abbc2a1bbf2071ab786 (diff)
downloadbcm5719-llvm-a98546ebcd2a692e0634c5b1a7e77471316ab6e0.tar.gz
bcm5719-llvm-a98546ebcd2a692e0634c5b1a7e77471316ab6e0.zip
[Orc] Add a method for ObjectLinkingLayer to return ownership of object buffers.
RTDyldObjectLinkingLayer allowed clients to register a NotifyEmitted function to reclaim ownership of object buffers once they had been linked. This patch adds similar functionality to ObjectLinkingLayer: Clients can now optionally call the ObjectLinkingLayer::setReturnObjectBuffer method to register a function that will be called when discarding object buffers. If set, this function will be called to return ownership of the object regardless of whether the link succeeded or failed. Use cases for this function include debug dumping (it provides a way to dump all objects linked into JIT'd code) and object re-use (e.g. storing an object in a cache). llvm-svn: 374951
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestRunCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud