Skip to content

Commit abdb82b

Browse files
committed
[examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac.
1 parent 30ca33e commit abdb82b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ launchLocalExecutor(StringRef ExecutablePath) {
140140

141141
auto EPC = SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(
142142
std::make_unique<DynamicThreadPoolTaskDispatcher>(),
143+
SimpleRemoteEPC::Setup(),
143144
FromExecutor[ReadEnd], ToExecutor[WriteEnd]);
144145
if (!EPC)
145146
return EPC.takeError();
@@ -210,7 +211,8 @@ connectTCPSocket(StringRef NetworkAddress) {
210211
return CreateErr(toString(SockFD.takeError()));
211212

212213
return SimpleRemoteEPC::Create<FDSimpleRemoteEPCTransport>(
213-
std::make_unique<DynamicThreadPoolTaskDispatcher>(), *SockFD);
214+
std::make_unique<DynamicThreadPoolTaskDispatcher>(),
215+
SimpleRemoteEPC::Setup(), *SockFD);
214216
}
215217

216218
#endif

0 commit comments

Comments
 (0)