[Lldb-commits] [PATCH] D31823: Update LLDB Host to support IPv6 over TCP

Chris Bieneman via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 14 15:39:23 PDT 2017


beanz updated this revision to Diff 95355.
beanz added a comment.
Herald added a subscriber: mgorny.

Updating to use MainLoop class, and refactor MainLoop class to operate on Windows.

I've added error cases to the MainLoop class for functionality that is not supported. Specifically non-socket IOObjects are not supported on Windows, and signal handling requires either kqueue or ppoll. In practice that means signal handling is not supported on Windows, older Linux OSs and some BSD variants. That is all controlled by proper configure-time checks.


https://reviews.llvm.org/D31823

Files:
  cmake/modules/LLDBConfig.cmake
  include/lldb/Host/Config.h
  include/lldb/Host/Config.h.cmake
  include/lldb/Host/MainLoop.h
  include/lldb/Host/Socket.h
  include/lldb/Host/common/TCPSocket.h
  include/lldb/Host/common/UDPSocket.h
  include/lldb/Host/linux/AbstractSocket.h
  include/lldb/Host/posix/DomainSocket.h
  include/lldb/Host/posix/MainLoopPosix.h
  lldb.xcodeproj/project.pbxproj
  source/Host/CMakeLists.txt
  source/Host/common/MainLoop.cpp
  source/Host/common/Socket.cpp
  source/Host/common/TCPSocket.cpp
  source/Host/common/UDPSocket.cpp
  source/Host/linux/AbstractSocket.cpp
  source/Host/posix/ConnectionFileDescriptorPosix.cpp
  source/Host/posix/DomainSocket.cpp
  source/Host/posix/MainLoopPosix.cpp
  source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
  tools/lldb-server/Acceptor.cpp
  unittests/Host/SocketTest.cpp
  unittests/Process/gdb-remote/GDBRemoteTestUtils.cpp
  unittests/debugserver/RNBSocketTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31823.95355.patch
Type: text/x-patch
Size: 56656 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170414/b85a0afa/attachment-0001.bin>


More information about the lldb-commits mailing list