From: Lang Hames Date: Thu, 14 Oct 2021 01:19:53 +0000 (-0700) Subject: [examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e0. X-Git-Tag: upstream/15.0.7~28666 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abdb82b237ebf42572c5730a2265bfc98fc8b0c4;p=platform%2Fupstream%2Fllvm.git [examples] Fix LLJITWithRemoteDebugging example after 4fcc0ac15e0. --- diff --git a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp index 6a535bed9a81..82403a22c36e 100644 --- a/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp +++ b/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/RemoteJITUtils.cpp @@ -140,6 +140,7 @@ launchLocalExecutor(StringRef ExecutablePath) { auto EPC = SimpleRemoteEPC::Create( std::make_unique(), + 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( - std::make_unique(), *SockFD); + std::make_unique(), + SimpleRemoteEPC::Setup(), *SockFD); } #endif