From c8522cadf7331bedd548ad5e2c6ef100c9166259 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Thu, 30 Mar 2023 13:54:18 -0700 Subject: [PATCH] [lldb] Fix macos build after e64cc756819d --- lldb/tools/lldb-server/lldb-gdbserver.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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"); } }; -- 2.7.4