1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/unittests/ExecutionEngine
Lang Hames 6ada68e8ee [ORC][RPC] Make the future type of an Orc RPC call Error/Expected rather than
Optional.

For void functions the return type of a nonblocking call changes from
Expected<future<Optional<bool>>> to Expected<future<Error>>, and for functions
returning T the return type changes from Expected<future<Optional<T>>> to
Expected<future<Expected<T>>>.

Inner results need to be checked (since the RPC connection may have dropped
out before a result came back) and Error/Expected provide stronger checking
requirements. It also allows us drop the crufty 'optionalToError' function and
just collapse Errors in the single-threaded call primitives.

llvm-svn: 280016
2016-08-29 21:56:30 +00:00
..
MCJIT Use the range variant of find instead of unpacking begin/end 2016-08-11 22:21:41 +00:00
Orc [ORC][RPC] Make the future type of an Orc RPC call Error/Expected rather than 2016-08-29 21:56:30 +00:00
CMakeLists.txt [orc] Add a trivial unit test to get the ball rolling 2015-02-23 00:36:25 +00:00
ExecutionEngineTest.cpp Revert r279016 -- it breaks win32-elf JIT tests. 2016-08-18 01:33:28 +00:00