[Lldb-commits] [PATCH] D13754: Split Socket class into Tcp/Udp/DomainSocket subclasses.

Oleksiy Vyalov via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 14 15:59:16 PDT 2015


ovyalov created this revision.
ovyalov added reviewers: clayborg, zturner, labath.
ovyalov added a subscriber: lldb-commits.
Herald added subscribers: srhines, danalbert, tberghammer.

There are a few reasons for this change:
 - Support generic logic flow for different socket types - a preparation step to support domain sockets in lldb-server along with TCP.
 - Offload Socket.cpp and make it more readable and serving more as a factory class.
 - Move out protocol-specific members like m_udp_send_sockaddr to more fine-grained classes.

http://reviews.llvm.org/D13754

Files:
  include/lldb/Host/Socket.h
  include/lldb/Host/common/TcpSocket.h
  include/lldb/Host/common/UdpSocket.h
  include/lldb/Host/posix/DomainSocket.h
  lldb.xcodeproj/project.pbxproj
  source/Host/CMakeLists.txt
  source/Host/common/Socket.cpp
  source/Host/common/TcpSocket.cpp
  source/Host/common/UdpSocket.cpp
  source/Host/posix/ConnectionFileDescriptorPosix.cpp
  source/Host/posix/DomainSocket.cpp
  source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
  source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
  tools/lldb-server/lldb-platform.cpp
  unittests/Host/SocketTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13754.37411.patch
Type: text/x-patch
Size: 65817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151014/fc6c4fdc/attachment-0001.bin>


More information about the lldb-commits mailing list