summaryrefslogtreecommitdiff
path: root/lldb/tools
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2023-03-30 14:48:39 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2023-03-30 14:50:45 -0700
commitb24e2900fa743e0abab7f4fa9747e5cbbfc2567a (patch)
tree07609f6d5c6f50d846ce78f07ec2fa56383d6634 /lldb/tools
parent2ea8a3a56a513484ee36c8ad12f93f35665321d1 (diff)
downloadllvm-b24e2900fa743e0abab7f4fa9747e5cbbfc2567a.tar.gz
[lldb] Fix macos build after e64cc756819d (2/2)
My previous commit was still missing the ctor and the NativeDelegate parent class.
Diffstat (limited to 'lldb/tools')
-rw-r--r--lldb/tools/lldb-server/lldb-gdbserver.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/tools/lldb-server/lldb-gdbserver.cpp b/lldb/tools/lldb-server/lldb-gdbserver.cpp
index 5d32ea193fb5..8d0346c1c0c4 100644
--- a/lldb/tools/lldb-server/lldb-gdbserver.cpp
+++ b/lldb/tools/lldb-server/lldb-gdbserver.cpp
@@ -74,13 +74,17 @@ typedef NativeProcessWindows::Manager NativeProcessManager;
// Dummy implementation to make sure the code compiles
class NativeProcessManager : public NativeProcessProtocol::Manager {
public:
+ NativeProcessManager(MainLoop &mainloop)
+ : NativeProcessProtocol::Manager(mainloop) {}
+
llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
Launch(ProcessLaunchInfo &launch_info,
- NativeDelegate &native_delegate) override {
+ NativeProcessProtocol::NativeDelegate &native_delegate) override {
llvm_unreachable("Not implemented");
}
llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
- Attach(lldb::pid_t pid, NativeDelegate &native_delegate) override {
+ Attach(lldb::pid_t pid,
+ NativeProcessProtocol::NativeDelegate &native_delegate) override {
llvm_unreachable("Not implemented");
}
};