1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/unittests/ExecutionEngine/Orc
Lang Hames dac7e64ae5 [Orc] Add support for remote JITing to the ORC API.
This patch adds utilities to ORC for managing a remote JIT target. It consists
of:

1. A very primitive RPC system for making calls over a byte-stream.  See
RPCChannel.h, RPCUtils.h.

2. An RPC API defined in the above system for managing memory, looking up
symbols, creating stubs, etc. on a remote target. See OrcRemoteTargetRPCAPI.h.

3. An interface for creating high-level JIT components (memory managers,
callback managers, stub managers, etc.) that operate over the RPC API. See
OrcRemoteTargetClient.h.

4. A helper class for building servers that can handle the RPC calls. See
OrcRemoteTargetServer.h.

The system is designed to work neatly with the existing ORC components and
functionality. In particular, the ORC callback API (and consequently the
CompileOnDemandLayer) is supported, enabling lazy compilation of remote code.

Assuming this doesn't trigger any builder failures, a follow-up patch will be
committed which tests these utilities by using them to replace LLI's existing
remote-JITing demo code.

llvm-svn: 257305
2016-01-11 01:40:11 +00:00
..
CMakeLists.txt [Orc] Add support for remote JITing to the ORC API. 2016-01-11 01:40:11 +00:00
CompileOnDemandLayerTest.cpp [Orc] Rename IndirectStubsManagerBase to IndirectStubsManager. 2015-12-06 19:44:45 +00:00
GlobalMappingLayerTest.cpp Add a global mapping layer for Orc. Adapted from a patch by Andy Somogyi. 2015-08-27 22:20:05 +00:00
IndirectionUtilsTest.cpp [Orc] Re-add C bindings for the Orc APIs, with a fix to remove the union that 2015-10-28 02:40:04 +00:00
LazyEmittingLayerTest.cpp
Makefile
ObjectLinkingLayerTest.cpp OrcJITTests//ObjectLinkingLayerTest.cpp: Appease msc18's C2327. It seems definition of nested class would confuse the context. 2016-01-10 15:56:49 +00:00
ObjectTransformLayerTest.cpp [Orc] Removing traces of takeOwnershipOfBuffers left after r251560. 2015-12-07 17:35:56 +00:00
OrcCAPITest.cpp Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
OrcTestCommon.cpp [Orc][RuntimeDyld] Prevent duplicate calls to finalizeMemory on shared memory 2016-01-09 19:50:40 +00:00
OrcTestCommon.h [Orc][RuntimeDyld] Prevent duplicate calls to finalizeMemory on shared memory 2016-01-09 19:50:40 +00:00
RPCUtilsTest.cpp [Orc] Add support for remote JITing to the ORC API. 2016-01-11 01:40:11 +00:00