OSDN Git Service

[Orc][RPC] Add an APICalls utility for grouping RPC funtions for registration.
authorLang Hames <lhames@gmail.com>
Sun, 8 Jan 2017 01:13:47 +0000 (01:13 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 8 Jan 2017 01:13:47 +0000 (01:13 +0000)
commitb15738d320787f27d2d62c631014e059b57bde54
treeacd61c8f168f9da4d24e5405f7e29ebfd9366bd6
parent3742f4b56f9272a7e67c2e04bcfffb0804c7882c
[Orc][RPC] Add an APICalls utility for grouping RPC funtions for registration.

APICalls allows groups of functions to be composed into an API that can be
registered as a unit with an RPC endpoint. Doing registration on a-whole API
basis (rather than per-function) allows missing API functions to be detected
early.

APICalls also allows Function membership to be tested at compile-time. This
allows clients to write static assertions that functions to be called are
members of registered APIs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291380 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ExecutionEngine/Orc/RPCUtils.h
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp