[Lldb-commits] [PATCH] D31357: Support Unit Testing debugserver

Chris Bieneman via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 24 15:00:06 PDT 2017

beanz created this revision.
Herald added a subscriber: mgorny.

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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31357.93013.patch
Type: text/x-patch
Size: 9809 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170324/dd1c8485/attachment.bin>

More information about the lldb-commits mailing list