LLDB mainline
Server.cpp File Reference
#include "lldb/Protocol/MCP/Server.h"
#include "lldb/Host/File.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Protocol/MCP/MCPError.h"
#include "lldb/Protocol/MCP/Protocol.h"
#include "lldb/Protocol/MCP/Transport.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/ErrorExtras.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/JSON.h"
#include "llvm/Support/Signals.h"

Go to the source code of this file.

Functions

static FileSpec GetServerInfoPath (lldb::pid_t pid)
 Returns the on-disk registry path for the instance with the given pid.

Function Documentation

◆ GetServerInfoPath()

FileSpec GetServerInfoPath ( lldb::pid_t pid)
static

Returns the on-disk registry path for the instance with the given pid.

Definition at line 64 of file Server.cpp.

References lldb_private::FileSpec::CopyByAppendingPathComponent().

Referenced by lldb_protocol::mcp::ServerInfo::Remove(), and lldb_protocol::mcp::ServerInfo::Write().