diff --git a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp index a697c32cbd5411..6a535bed9a81a2 100644 --- a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp +++ b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp @@ -139,6 +139,7 @@ launchLocalExecutor(StringRef ExecutablePath) { close(FromExecutor[WriteEnd]); auto EPC = SimpleRemoteEPC::Create( + std::make_unique(), 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(*SockFD); + return SimpleRemoteEPC::Create( + std::make_unique(), *SockFD); } #endif