Skip to content

Commit b24e290

Browse files
committed
[lldb] Fix macos build after e64cc75 (2/2)
My previous commit was still missing the ctor and the NativeDelegate parent class.
1 parent 2ea8a3a commit b24e290

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

lldb/tools/lldb-server/lldb-gdbserver.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,17 @@ typedef NativeProcessWindows::Manager NativeProcessManager;
7474
// Dummy implementation to make sure the code compiles
7575
class NativeProcessManager : public NativeProcessProtocol::Manager {
7676
public:
77+
NativeProcessManager(MainLoop &mainloop)
78+
: NativeProcessProtocol::Manager(mainloop) {}
79+
7780
llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
7881
Launch(ProcessLaunchInfo &launch_info,
79-
NativeDelegate &native_delegate) override {
82+
NativeProcessProtocol::NativeDelegate &native_delegate) override {
8083
llvm_unreachable("Not implemented");
8184
}
8285
llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
83-
Attach(lldb::pid_t pid, NativeDelegate &native_delegate) override {
86+
Attach(lldb::pid_t pid,
87+
NativeProcessProtocol::NativeDelegate &native_delegate) override {
8488
llvm_unreachable("Not implemented");
8589
}
8690
};

0 commit comments

Comments
 (0)