[llvm] abdb82b - [examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e0.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 13 18:20:48 PDT 2021


Author: Lang Hames
Date: 2021-10-13T18:19:53-07:00
New Revision: abdb82b237ebf42572c5730a2265bfc98fc8b0c4

URL: https://github.com/llvm/llvm-project/commit/abdb82b237ebf42572c5730a2265bfc98fc8b0c4
DIFF: https://github.com/llvm/llvm-project/commit/abdb82b237ebf42572c5730a2265bfc98fc8b0c4.diff

LOG: [examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e0.

Added: 
    

Modified: 
    llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
index 6a535bed9a81a..82403a22c36ee 100644
--- a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
+++ b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp
@@ -140,6 +140,7 @@ launchLocalExecutor(StringRef ExecutablePath) {
 
   auto EPC = SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(
       std::make_unique<DynamicThreadPoolTaskDispatcher>(),
+      SimpleRemoteEPC::Setup(),
       FromExecutor[ReadEnd], ToExecutor[WriteEnd]);
   if (!EPC)
     return EPC.takeError();
@@ -210,7 +211,8 @@ connectTCPSocket(StringRef NetworkAddress) {
     return CreateErr(toString(SockFD.takeError()));
 
   return SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(
-      std::make_unique<DynamicThreadPoolTaskDispatcher>(), *SockFD);
+      std::make_unique<DynamicThreadPoolTaskDispatcher>(),
+      SimpleRemoteEPC::Setup(), *SockFD);
 }
 
 #endif


        


More information about the llvm-commits mailing list