Skip to content

Commit 8664998

Browse files
committed
Add missing NativeProcessFactory for lldb-server on Windows
llvm-svn: 368872
1 parent bfe0c37 commit 8664998

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
#include "Plugins/Process/Linux/NativeProcessLinux.h"
4040
#elif defined(__NetBSD__)
4141
#include "Plugins/Process/NetBSD/NativeProcessNetBSD.h"
42+
#elif defined(_WIN32)
43+
#include "Plugins/Process/Windows/Common/NativeProcessWindows.h"
4244
#endif
4345

4446
#ifndef LLGS_PROGRAM_NAME
@@ -60,6 +62,8 @@ namespace {
6062
typedef process_linux::NativeProcessLinux::Factory NativeProcessFactory;
6163
#elif defined(__NetBSD__)
6264
typedef process_netbsd::NativeProcessNetBSD::Factory NativeProcessFactory;
65+
#elif defined(_WIN32)
66+
typedef NativeProcessWindows::Factory NativeProcessFactory;
6367
#else
6468
// Dummy implementation to make sure the code compiles
6569
class NativeProcessFactory : public NativeProcessProtocol::Factory {

0 commit comments

Comments
 (0)