From: Jonas Devlieghere Date: Thu, 30 Mar 2023 20:54:18 +0000 (-0700) Subject: [lldb] Fix macos build after e64cc756819d X-Git-Tag: upstream/17.0.6~13151 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8522cadf7331bedd548ad5e2c6ef100c9166259;p=platform%2Fupstream%2Fllvm.git [lldb] Fix macos build after e64cc756819d --- diff --git a/lldb/tools/lldb-server/lldb-gdbserver.cpp b/lldb/tools/lldb-server/lldb-gdbserver.cpp index f6e52aa..5d32ea1 100644 --- a/lldb/tools/lldb-server/lldb-gdbserver.cpp +++ b/lldb/tools/lldb-server/lldb-gdbserver.cpp @@ -34,6 +34,7 @@ #include "llvm/Option/OptTable.h" #include "llvm/Option/Option.h" #include "llvm/Support/Errno.h" +#include "llvm/Support/Error.h" #include "llvm/Support/WithColor.h" #if defined(__linux__) @@ -75,13 +76,11 @@ class NativeProcessManager : public NativeProcessProtocol::Manager { public: llvm::Expected> Launch(ProcessLaunchInfo &launch_info, - NativeProcessProtocol::NativeDelegate &delegate, - MainLoop &mainloop) const override { + NativeDelegate &native_delegate) override { llvm_unreachable("Not implemented"); } llvm::Expected> - Attach(lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &delegate, - MainLoop &mainloop) const override { + Attach(lldb::pid_t pid, NativeDelegate &native_delegate) override { llvm_unreachable("Not implemented"); } };