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