2015-10-28 03:40:04 +01:00
|
|
|
|
2015-02-23 01:36:25 +01:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
|
|
|
Core
|
2015-10-28 10:37:09 +01:00
|
|
|
ExecutionEngine
|
2015-10-29 07:40:04 +01:00
|
|
|
Object
|
2015-04-20 22:41:45 +02:00
|
|
|
OrcJIT
|
2015-10-29 07:40:04 +01:00
|
|
|
RuntimeDyld
|
2015-02-23 01:36:25 +01:00
|
|
|
Support
|
2015-10-28 03:40:04 +01:00
|
|
|
native
|
2015-02-23 01:36:25 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_unittest(OrcJITTests
|
2015-10-20 06:35:02 +02:00
|
|
|
CompileOnDemandLayerTest.cpp
|
2018-01-10 01:09:38 +01:00
|
|
|
CoreAPIsTest.cpp
|
2015-04-20 22:41:45 +02:00
|
|
|
IndirectionUtilsTest.cpp
|
2015-08-28 00:20:05 +02:00
|
|
|
GlobalMappingLayerTest.cpp
|
2018-09-26 06:18:30 +02:00
|
|
|
LazyCallThroughAndReexportsTest.cpp
|
2015-02-23 01:36:25 +01:00
|
|
|
LazyEmittingLayerTest.cpp
|
2018-01-22 04:00:31 +01:00
|
|
|
LegacyAPIInteropTest.cpp
|
2015-06-25 15:35:22 +02:00
|
|
|
ObjectTransformLayerTest.cpp
|
2015-10-28 03:40:04 +01:00
|
|
|
OrcCAPITest.cpp
|
2015-04-20 22:41:45 +02:00
|
|
|
OrcTestCommon.cpp
|
2017-04-06 03:49:21 +02:00
|
|
|
QueueChannel.cpp
|
2017-09-05 05:34:09 +02:00
|
|
|
RemoteObjectLayerTest.cpp
|
[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 02:40:11 +01:00
|
|
|
RPCUtilsTest.cpp
|
2017-04-06 03:49:21 +02:00
|
|
|
RTDyldObjectLinkingLayerTest.cpp
|
2018-08-28 00:30:57 +02:00
|
|
|
RTDyldObjectLinkingLayer2Test.cpp
|
2017-12-05 22:44:56 +01:00
|
|
|
SymbolStringPoolTest.cpp
|
2018-09-27 04:09:36 +02:00
|
|
|
ThreadSafeModuleTest.cpp
|
2015-02-23 01:36:25 +01:00
|
|
|
)
|
2016-04-19 19:13:52 +02:00
|
|
|
|
2017-12-20 23:26:41 +01:00
|
|
|
target_link_libraries(OrcJITTests PRIVATE ${ORC_JIT_TEST_LIBS})
|