LLDB mainline
ProcessElfCore.cpp File Reference

Go to the source code of this file.

Functions

static FileSpec CreateFileSpecFromPath (llvm::StringRef path)
 Correctly create a FileSpec from a path found in a core file.
static void ParseFreeBSDPrStatus (ThreadData &thread_data, const DataExtractor &data, bool lp64)
static void ParseFreeBSDPrPsInfo (ProcessElfCore &process, const DataExtractor &data, bool lp64)
static llvm::Error ParseNetBSDProcInfo (const DataExtractor &data, uint32_t &cpi_nlwps, uint32_t &cpi_signo, uint32_t &cpi_siglwp, uint32_t &cpi_pid)
static void ParseOpenBSDProcInfo (ThreadData &thread_data, const DataExtractor &data)

Function Documentation

◆ CreateFileSpecFromPath()

FileSpec CreateFileSpecFromPath ( llvm::StringRef path)
static

Correctly create a FileSpec from a path found in a core file.

This method will guess the path style more intelligently that specifying a native path style since core files can contain paths from a different system than the host system.

Definition at line 323 of file ProcessElfCore.cpp.

References lldb_private::FileSpec::GuessPathStyle().

Referenced by ProcessElfCore::GetMainExecutableModuleSpec().

◆ ParseFreeBSDPrPsInfo()

void ParseFreeBSDPrPsInfo ( ProcessElfCore & process,
const DataExtractor & data,
bool lp64 )
static

◆ ParseFreeBSDPrStatus()

◆ ParseNetBSDProcInfo()

◆ ParseOpenBSDProcInfo()

void ParseOpenBSDProcInfo ( ThreadData & thread_data,
const DataExtractor & data )
static