[examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e.

This commit is contained in:
Lang Hames 2021-10-13 18:19:53 -07:00
parent 30ca33eab0
commit abdb82b237
1 changed files with 3 additions and 1 deletions

View 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