forked from OSchip/llvm-project
[examples] Fix LLJITWithRemoteDebugging example after f341161689
.
This commit is contained in:
parent
a00ff71668
commit
2e6c92c540
|
@ -139,6 +139,7 @@ launchLocalExecutor(StringRef ExecutablePath) {
|
||||||
close(FromExecutor[WriteEnd]);
|
close(FromExecutor[WriteEnd]);
|
||||||
|
|
||||||
auto EPC = SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(
|
auto EPC = SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(
|
||||||
|
std::make_unique<DynamicThreadPoolTaskDispatcher>(),
|
||||||
FromExecutor[ReadEnd], ToExecutor[WriteEnd]);
|
FromExecutor[ReadEnd], ToExecutor[WriteEnd]);
|
||||||
if (!EPC)
|
if (!EPC)
|
||||||
return EPC.takeError();
|
return EPC.takeError();
|
||||||
|
@ -208,7 +209,8 @@ connectTCPSocket(StringRef NetworkAddress) {
|
||||||
if (!SockFD)
|
if (!SockFD)
|
||||||
return CreateErr(toString(SockFD.takeError()));
|
return CreateErr(toString(SockFD.takeError()));
|
||||||
|
|
||||||
return SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(*SockFD);
|
return SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(
|
||||||
|
std::make_unique<DynamicThreadPoolTaskDispatcher>(), *SockFD);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue