[llvm-dev] RPC on LLVM IR: any example programs for this? (original) (raw)

Lang Hames via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 13 18:13:11 PDT 2017


Hi Shen,

The best place to look for examples is currently the RPCUtilsTest unit test: llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp

What API do you want to be able to call via RPC? If it's small I can probably write up an example for you.

Cheers, Lang.

On Fri, Dec 16, 2016 at 7:37 AM, Shen Liu via llvm-dev < llvm-dev at lists.llvm.org> wrote:

Hi everyone,

I want to use an LLVM new feature (llvm::orc::remote::RPCBase) to implement a simple RPC framework between two LLVM modules. It seems by this new class we can do serialization/deserialization on LLVM IR type system directly. But I haven't found any helpful stuff on google showing me how to use these RPC APIs. Can anyone give me some hints or example programs showing me how to use these API correctly? Just a simple serialization/deserialization toy demo is OK, Thanks very much! Best regards, Shen


LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170413/b9251243/attachment.html>



More information about the llvm-dev mailing list