diff options
| author | Lang Hames <lhames@gmail.com> | 2016-12-25 21:55:05 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2016-12-25 21:55:05 +0000 |
| commit | c9d0ff13024bc0aa896fdb2cab6051cedc1e0ae3 (patch) | |
| tree | 9d5b5857e2bc38f1845627a939a7afa46c3d95bf /llvm/lib/ExecutionEngine/Orc | |
| parent | 993f2032789cabd5df00d75940454c6799bb0291 (diff) | |
| download | bcm5719-llvm-c9d0ff13024bc0aa896fdb2cab6051cedc1e0ae3.tar.gz bcm5719-llvm-c9d0ff13024bc0aa896fdb2cab6051cedc1e0ae3.zip | |
[Orc][RPC] Add a ParallelCallGroup utility for dispatching and waiting on
multiple asynchronous RPC calls.
ParallelCallGroup allows multiple asynchronous calls to be dispatched,
and provides a wait method that blocks until all asynchronous calls have
been executed on the remote and all return value handlers run on the
local machine.
This will allow, for example, the JIT client to issue memory allocation calls
for all sections in parallel, then block until all memory has been allocated
on the remote and the allocated addresses registered with the client, at which
point the JIT client can proceed to applying relocations.
llvm-svn: 290523
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc')
| -rw-r--r-- | llvm/lib/ExecutionEngine/Orc/OrcError.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/OrcError.cpp b/llvm/lib/ExecutionEngine/Orc/OrcError.cpp index 48dcd442266..c531fe36992 100644 --- a/llvm/lib/ExecutionEngine/Orc/OrcError.cpp +++ b/llvm/lib/ExecutionEngine/Orc/OrcError.cpp @@ -39,6 +39,8 @@ public: return "Remote indirect stubs owner does not exist"; case OrcErrorCode::RemoteIndirectStubsOwnerIdAlreadyInUse: return "Remote indirect stubs owner Id already in use"; + case OrcErrorCode::RPCResponseAbandoned: + return "RPC response abandoned"; case OrcErrorCode::UnexpectedRPCCall: return "Unexpected RPC call"; case OrcErrorCode::UnexpectedRPCResponse: |

