[ORC] Move Orc RPC code into Shared, rename some RPC types.
authorLang Hames <lhames@gmail.com>
Tue, 29 Dec 2020 09:27:41 +0000 (20:27 +1100)
committerLang Hames <lhames@gmail.com>
Wed, 30 Dec 2020 01:48:20 +0000 (12:48 +1100)
commit5efc71e119d4eba235209d262e7d171361a0b9be
treec4a9d9908786aa274b68163fd80ee70cfa2e37f6
parent8a1f1a100cce6ed9b52aedbbf03da887833508be
[ORC] Move Orc RPC code into Shared, rename some RPC types.

Moves all headers from Orc/RPC to Orc/Shared, and from the llvm::orc::rpc
namespace into llvm::orc::shared. Also renames RPCTypeName to
SerializationTypeName and Function to RPCFunction.

In addition to being a more reasonable home for this code, this will make it
easier for the upcoming Orc runtime to re-use the Serialization system for
creating and parsing wrapper-function binary blobs.
18 files changed:
llvm/include/llvm/ExecutionEngine/Orc/OrcRPCTargetProcessControl.h
llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h
llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h
llvm/include/llvm/ExecutionEngine/Orc/Shared/FDRawByteChannel.h [moved from llvm/include/llvm/ExecutionEngine/Orc/RPC/FDRawByteChannel.h with 87% similarity]
llvm/include/llvm/ExecutionEngine/Orc/Shared/RPCUtils.h [moved from llvm/include/llvm/ExecutionEngine/Orc/RPC/RPCUtils.h with 89% similarity]
llvm/include/llvm/ExecutionEngine/Orc/Shared/RawByteChannel.h [moved from llvm/include/llvm/ExecutionEngine/Orc/RPC/RawByteChannel.h with 88% similarity]
llvm/include/llvm/ExecutionEngine/Orc/Shared/Serialization.h [moved from llvm/include/llvm/ExecutionEngine/Orc/RPC/RPCSerialization.h with 76% similarity]
llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/OrcRPCTPCServer.h
llvm/lib/ExecutionEngine/Orc/Shared/RPCError.cpp
llvm/tools/lli/ChildTarget/ChildTarget.cpp
llvm/tools/lli/RemoteJITUtils.h
llvm/tools/lli/lli.cpp
llvm/tools/llvm-jitlink/llvm-jitlink-executor/llvm-jitlink-executor.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.h
llvm/unittests/ExecutionEngine/Orc/QueueChannel.h
llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp