LLDB mainline
Macros | Functions
GDBRemoteCommunicationClient.cpp File Reference
#include "GDBRemoteCommunicationClient.h"
#include <cmath>
#include <sys/stat.h>
#include <numeric>
#include <optional>
#include <sstream>
#include "lldb/Core/ModuleSpec.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/SafeMachO.h"
#include "lldb/Host/XML.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Target/MemoryRegionInfo.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/UnixSignals.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/LLDBAssert.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/State.h"
#include "lldb/Utility/StreamString.h"
#include "ProcessGDBRemote.h"
#include "ProcessGDBRemoteLog.h"
#include "lldb/Host/Config.h"
#include "lldb/Utility/StringExtractorGDBRemote.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/JSON.h"
#include "Plugins/Process/gdb-remote/GDBRemoteErrno.def"

Go to the source code of this file.

Macros

#define HANDLE_ERRNO(name, value)
 

Functions

static void ParseOSType (llvm::StringRef value, std::string &os_name, std::string &environment)
 
static void MakeSpeedTestPacket (StreamString &packet, uint32_t send_size, uint32_t recv_size)
 
duration< float > calculate_standard_deviation (const std::vector< duration< float > > &v)
 
static int gdb_errno_to_system (int err)
 
static uint64_t ParseHostIOPacketResponse (StringExtractorGDBRemote &response, uint64_t fail_result, Status &error)
 
static std::optional< ModuleSpecParseModuleSpec (StructuredData::Dictionary *dict)
 

Macro Definition Documentation

◆ HANDLE_ERRNO

#define HANDLE_ERRNO (   name,
  value 
)
Value:
case GDB_##name: \
return name;

Function Documentation

◆ calculate_standard_deviation()

duration< float > calculate_standard_deviation ( const std::vector< duration< float > > &  v)

◆ gdb_errno_to_system()

static int gdb_errno_to_system ( int  err)
static

◆ MakeSpeedTestPacket()

static void MakeSpeedTestPacket ( StreamString packet,
uint32_t  send_size,
uint32_t  recv_size 
)
static

◆ ParseHostIOPacketResponse()

static uint64_t ParseHostIOPacketResponse ( StringExtractorGDBRemote response,
uint64_t  fail_result,
Status error 
)
static

◆ ParseModuleSpec()

static std::optional< ModuleSpec > ParseModuleSpec ( StructuredData::Dictionary dict)
static

◆ ParseOSType()

static void ParseOSType ( llvm::StringRef  value,
std::string &  os_name,
std::string &  environment 
)
static