OSDN Git Service

[ORC] Replace the serialize/deserialize function pair with a SerializationTraits
authorLang Hames <lhames@gmail.com>
Mon, 12 Sep 2016 20:34:41 +0000 (20:34 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 12 Sep 2016 20:34:41 +0000 (20:34 +0000)
commitb57c915405a13b5321756af7b82212652f2fa378
tree9bd8a2287690a7f2d9b02ffecafd0c03059298ca
parent77ad09277ab0d53215c0dd0aa3f001ae37fa8502
[ORC] Replace the serialize/deserialize function pair with a SerializationTraits
class.

SerializationTraits provides serialize and deserialize methods corresponding to
the earlier functions, but also provides a name for the type. In future, this
name will be used to render function signatures as strings, which will in turn
be used to negotiate and verify API support between RPC clients and servers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281254 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
include/llvm/ExecutionEngine/Orc/RPCByteChannel.h
include/llvm/ExecutionEngine/Orc/RPCSerialization.h [new file with mode: 0644]
include/llvm/ExecutionEngine/Orc/RPCUtils.h