Update DebugServer to support IPv6 over TCP
authorChris Bieneman <beanz@apple.com>
Tue, 18 Apr 2017 20:01:59 +0000 (20:01 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 18 Apr 2017 20:01:59 +0000 (20:01 +0000)
commitd01a2fa38d728d0190e3a802d665726787a88b9c
treeeb83356c5a0fad579871e665577d63dee8f8a554
parent31e7c5e89f2f3a1617a0aca6aa9935192ffc74b9
Update DebugServer to support IPv6 over TCP

Summary: This patch adds IPv6 support to debugserver. It follows a similar pattern to the changes proposed for LLDB/Host except that the listen implementation is only with kqueue(2) because debugserver is only supported on Darwin.

Reviewers: jingham, jasonmolenda, clayborg

Reviewed By: clayborg

Subscribers: mgorny, lldb-commits

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

llvm-svn: 300580
lldb/tools/debugserver/debugserver.xcodeproj/project.pbxproj
lldb/tools/debugserver/source/CMakeLists.txt
lldb/tools/debugserver/source/RNBSocket.cpp
lldb/tools/debugserver/source/debugserver.cpp
lldb/unittests/debugserver/RNBSocketTest.cpp