Skip to content

Commit

Permalink
[examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhames committed Oct 14, 2021
1 parent 30ca33e commit abdb82b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -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();
Expand Down Expand Up @@ -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

0 comments on commit abdb82b

Please sign in to comment.