LLDB mainline
Host.cpp File Reference
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/posix/Support.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/ProcessInfo.h"
#include "lldb/Utility/Status.h"
#include "llvm/BinaryFormat/XCOFF.h"
#include "llvm/Object/XCOFFObjectFile.h"
#include "llvm/Support/MemoryBuffer.h"
#include <dirent.h>
#include <sys/proc.h>
#include <sys/procfs.h>

Go to the source code of this file.

Functions

static ProcessInstanceInfo::timespec convert (pr_timestruc64_t t)
static bool GetStatusInfo (::pid_t pid, ProcessInstanceInfo &processInfo, ProcessState &State)
static ArchSpec GetXCOFFProcessCPUType (llvm::StringRef exe_path)
static bool GetExePathAndIds (::pid_t pid, ProcessInstanceInfo &process_info)
static bool GetProcessAndStatInfo (::pid_t pid, ProcessInstanceInfo &process_info, ProcessState &State)

Function Documentation

◆ convert()

◆ GetExePathAndIds()

◆ GetProcessAndStatInfo()

◆ GetStatusInfo()

◆ GetXCOFFProcessCPUType()

ArchSpec GetXCOFFProcessCPUType ( llvm::StringRef exe_path)
static

Definition at line 87 of file aix/Host.cpp.

References lldb_private::GetLog(), lldb_private::Host, and LLDB_LOG.

Referenced by GetExePathAndIds().