<div dir="ltr">Hi Shen,<div><br></div><div>The best place to look for examples is currently the RPCUtilsTest unit test: llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp</div><div><br></div><div>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.</div><div><br></div><div>Cheers,</div><div>Lang.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 16, 2016 at 7:37 AM, Shen Liu via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif"><font style="font-size:12pt" size="3">Hi everyone,</font>
</span><p style="margin-bottom:0in;line-height:100%"><span style="font-family:arial,helvetica,sans-serif"><font style="font-size:12pt" size="3">I </font><font style="font-size:12pt" size="3">want </font><font style="font-size:12pt" size="3">to </font><font style="font-size:12pt" size="3">use an LLVM new feature (llvm::orc::remote::RPCBase) to implement a simple RPC framework </font><font style="font-size:12pt" size="3">between two </font><font style="font-size:12pt" size="3">LLVM modules. </font><font style="font-size:12pt" size="3">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 </font><font style="font-size:12pt" size="3">give me </font><font style="font-size:12pt" size="3">some hints or </font><font style="font-size:12pt" size="3">example programs showing me how to use </font><font style="font-size:12pt" size="3">these API correctly</font><font style="font-size:12pt" size="3">? </font><font style="font-size:12pt" size="3">Just a simple serialization/deserialization toy demo is OK, Thanks very much!</font></span></p><span style="font-family:arial,helvetica,sans-serif">
</span><p style="margin-bottom:0in;line-height:100%"><span style="font-family:arial,helvetica,sans-serif"><font style="font-size:12pt" size="3">Best regards,</font></span></p><span style="font-family:arial,helvetica,sans-serif">
</span><p style="margin-bottom:0in;line-height:100%"><span style="font-family:arial,helvetica,sans-serif"><font style="font-size:12pt" size="3">Shen</font></span></p>
<p style="margin-bottom:0in;line-height:100%"><br>
</p>
</div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>