1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/examples/OrcV2Examples
Stefan Gränitz 92757f17c9 [ORC] Add JITLink-compatible remote memory-manager and LLJITWithChildProcess example
This adds RemoteJITLinkMemoryManager is a new subclass of OrcRemoteTargetClient. It implements jitlink::JITLinkMemoryManager and targets the OrcRemoteTargetRPCAPI.

Behavior should be very similar to RemoteRTDyldMemoryManager. The essential differnce with JITLink is that allocations work in isolation from its memory manager. Thus, the RemoteJITLinkMemoryManager might be seen as "JITLink allocation factory".

RPCMMAlloc is another subclass of OrcRemoteTargetClient and implements the actual functionality. It allocates working memory on the host and target memory on the remote target. Upon finalization working memory is copied over to the tagrte address space. Finalization can be asynchronous for JITLink allocations, but I don't see that it makes a difference here.

Differential Revision: https://reviews.llvm.org/D85919
2020-08-14 11:34:44 +02:00
..
LLJITDumpObjects
LLJITWithChildProcess [ORC] Add JITLink-compatible remote memory-manager and LLJITWithChildProcess example 2020-08-14 11:34:44 +02:00
LLJITWithCustomObjectLinkingLayer
LLJITWithGDBRegistrationListener [examples] Call setProcessAllSections to ensure debug sections aren't droppped. 2020-05-01 11:06:41 -07:00
LLJITWithInitializers [ORC] Add example showing how to initialize/deinitialize a JITDylib with LLJIT. 2020-04-18 14:16:54 -07:00
LLJITWithLazyReexports [examples] Fix an incomplete comment. 2020-05-01 11:06:41 -07:00
LLJITWithObjectCache
LLJITWithObjectLinkingLayerPlugin
LLJITWithTargetProcessControl [ORC] Enable use of TargetProcessControl::getMemMgr with ObjectLinkingLayer. 2020-07-23 16:18:57 -07:00
OrcV2CBindingsAddObjectFile [ORC] Require JITDylib to be specified when adding IR and objects in the C API. 2020-04-09 17:59:26 -07:00
OrcV2CBindingsBasicUsage [ORC] Require JITDylib to be specified when adding IR and objects in the C API. 2020-04-09 17:59:26 -07:00
OrcV2CBindingsReflectProcessSymbols [docs/examples] As part of using inclusive language within the llvm 2020-06-20 00:51:18 -07:00
CMakeLists.txt [ORC] Add JITLink-compatible remote memory-manager and LLJITWithChildProcess example 2020-08-14 11:34:44 +02:00
ExampleModules.h Fix implicit dependency on CommandLine.h 2020-07-23 12:15:17 +01:00