[Orc][RPC] Add 'removeHandler' and 'clearHandlers' methods to RPC endpoints.
authorLang Hames <lhames@gmail.com>
Sat, 21 Jan 2017 07:46:03 +0000 (07:46 +0000)
committerLang Hames <lhames@gmail.com>
Sat, 21 Jan 2017 07:46:03 +0000 (07:46 +0000)
commit8ae86dbe4739115c923f1a7582e34cf23eb02385
tree86d089996fe13410234678d722a1801495093183
parent8e0724d33206c15061a0be2ff5c66c7e6b304d13
[Orc][RPC] Add 'removeHandler' and 'clearHandlers' methods to RPC endpoints.

This can be used to free handler resources for handlers that won't be called
again.

llvm-svn: 292714
llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp