llvm-project/lldb/tools
Chris Bieneman efd065e6a0 Support Unit Testing debugserver
Summary:
This patch refactors the CMake build system's support for building debugserver to allow us to build the majority of debugserver's sources into the debugserverCommon library which can then be reused by unit tests.

The first unit test I've written tests debug server's ability to accept incoming connections from LLDB. The test forks the process, and one side creates a listening socket using debugserver's socket API, the other side creates a transmitting socket using LLDB's TCPSocket class.

I have no clue where to even start getting this connected into the LLDB Xcode project, so for now these tests are CMake-only.

Reviewers: zturner, labath, jasonmolenda

Subscribers: lldb-commits, mgorny

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

llvm-svn: 300111
2017-04-12 21:56:29 +00:00
..
argdumper Move classes from Core -> Utility. 2017-02-02 21:39:50 +00:00
compact-unwind *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
darwin-debug [CMake] Refactor LLDB libraries and tools to be components 2016-12-15 22:01:17 +00:00
darwin-threads *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
debugserver Support Unit Testing debugserver 2017-04-12 21:56:29 +00:00
driver [Windows] Remove the #include <eh.h> hack. 2017-03-03 20:21:59 +00:00
install-headers add back an Xcode-specific Makefile for header installation 2016-01-28 22:34:36 +00:00
intel-mpx [CMake] Final dependency cleanup patch! 2017-02-08 21:00:46 +00:00
lldb-mi iwyu fixes on lldbUtility. 2017-04-06 18:12:24 +00:00
lldb-perf Make lldb -Werror clean for -Wstring-conversion 2017-01-06 00:38:06 +00:00
lldb-server Move FileSpec from Host -> Utility. 2017-03-22 18:40:07 +00:00
CMakeLists.txt Add a command to access and manipulate the Intel(R) MPX Boundary Tables. 2017-01-31 18:02:54 +00:00