Enable lldb-server on Windows
authorAaron Smith <aaron.smith@microsoft.com>
Tue, 13 Aug 2019 23:50:54 +0000 (23:50 +0000)
committerAaron Smith <aaron.smith@microsoft.com>
Tue, 13 Aug 2019 23:50:54 +0000 (23:50 +0000)
commit216944ee035aa720cc94034f3aa68064eda80469
tree584ee74d8b8a9288a4660f8fe2cca4611011b634
parent0df9c8c57802b0b1c75380c904b3cce0b902e2c5
Enable lldb-server on Windows

Summary:
This commit contains three small changes to enable lldb-server on Windows.

- Add lldb-server for Windows to the build
- Disable pty redirection on Windows for the initial lldb-server bring up
- Add a support to get the parent pid for a process on Windows
- Ifdef some signals which aren't supported on Windows

Thanks to Hui Huang for the help with this patch!

Reviewers: labath

Reviewed By: labath

Subscribers: JDevlieghere, compnerd, Hui, amccarth, xiaobai, srhines, mgorny, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D61686

llvm-svn: 368774
lldb/cmake/modules/LLDBConfig.cmake
lldb/source/Host/windows/Host.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
lldb/tools/lldb-server/lldb-gdbserver.cpp
lldb/tools/lldb-server/lldb-platform.cpp