[examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e0.
authorLang Hames <lhames@gmail.com>
Thu, 14 Oct 2021 01:19:53 +0000 (18:19 -0700)
committerLang Hames <lhames@gmail.com>
Thu, 14 Oct 2021 01:19:53 +0000 (18:19 -0700)
llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp

index 6a535bed9a81a257f1d72df3cb523e8c838d0aaf..82403a22c36eec92185f77a46deb1bb7b457df97 100644 (file)
@@ -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