[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)
commit27ce3c1b5ebac388348a9986bc71cc9c3a09aece
treed2e1853a77b2b39329d6653d6a9cd3042e440af2
parentc32d71253c4f00a7c775b1cd85608cf5479594f2
[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.

llvm-svn: 281254
llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h
llvm/include/llvm/ExecutionEngine/Orc/RPCByteChannel.h
llvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h [new file with mode: 0644]
llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h