LLDB mainline
|
#include <Socket.h>
Public Member Functions | |
SharedSocket (const Socket *socket, Status &error) | |
shared_fd_t | GetSendableFD () |
Status | CompleteSending (lldb::pid_t child_pid) |
Static Public Member Functions | |
static Status | GetNativeSocket (shared_fd_t fd, NativeSocket &socket) |
Static Public Attributes | |
static const shared_fd_t | kInvalidFD = Socket::kInvalidSocketValue |
Private Attributes | |
shared_fd_t | m_fd |
Definition at line 66 of file Socket.cpp.
References error(), lldb_private::Socket::GetNativeSocket(), kInvalidFD, m_fd, and lldb_private::Status.
Status SharedSocket::CompleteSending | ( | lldb::pid_t | child_pid | ) |
Definition at line 83 of file Socket.cpp.
References lldb_private::Status::FromError(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::Status::FromErrorStringWithFormatv(), and lldb_private::Status.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::LaunchAndConnectToDebugserver().
|
static |
Definition at line 108 of file Socket.cpp.
References lldb_private::Status::FromError(), lldb_private::Status::FromErrorStringWithFormatv(), lldb_private::Socket::kInvalidSocketValue, LLDB_INVALID_PIPE, and lldb_private::PipePosix::Read().
|
inline |
Definition at line 54 of file Socket.h.
References m_fd.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::LaunchAndConnectToDebugserver().
|
static |
Definition at line 50 of file Socket.h.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::Handle_qLaunchGDBServer(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerPlatform::LaunchGDBServer(), SharedSocket(), and lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess().
|
private |
Definition at line 65 of file Socket.h.
Referenced by GetSendableFD(), and SharedSocket().