LLDB mainline
NativeProcessAIX.cpp File Reference
#include "NativeProcessAIX.h"
#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
#include "lldb/Host/Host.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/HostProcess.h"
#include "lldb/Host/ProcessLaunchInfo.h"
#include "lldb/Host/posix/ProcessLauncherPosixFork.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/State.h"
#include "lldb/Utility/Status.h"
#include "llvm/Support/Errno.h"
#include "llvm/Support/Error.h"
#include <cerrno>
#include <cstdint>
#include <cstring>
#include <sstream>
#include <string>
#include <sys/ptrace.h>
#include <unistd.h>
#include "Plugins/Process/Utility/RegisterInfos_ppc64.h"

Go to the source code of this file.

Macros

#define DECLARE_REGISTER_INFOS_PPC64_STRUCT

Functions

static llvm::Error SetFDFlags (int fd, int flags)
static std::optional< std::pair< lldb::pid_t, WaitStatus > > WaitPid ()
template<typename GPR_T, typename PTSPRS_T>
int GetSPRs (int req, lldb::tid_t tid, GPR_T *gpr)
template<typename GPR_T, typename PTSPRS_T>
int SetSPRs (int req, lldb::tid_t tid, GPR_T *gpr)

Variables

static constexpr unsigned k_ptrace_word_size = sizeof(void *)

Macro Definition Documentation

◆ DECLARE_REGISTER_INFOS_PPC64_STRUCT

#define DECLARE_REGISTER_INFOS_PPC64_STRUCT

Definition at line 29 of file NativeProcessAIX.cpp.

Function Documentation

◆ GetSPRs()

template<typename GPR_T, typename PTSPRS_T>
int GetSPRs ( int req,
lldb::tid_t tid,
GPR_T * gpr )

◆ SetFDFlags()

llvm::Error SetFDFlags ( int fd,
int flags )
static

◆ SetSPRs()

template<typename GPR_T, typename PTSPRS_T>
int SetSPRs ( int req,
lldb::tid_t tid,
GPR_T * gpr )

◆ WaitPid()

Variable Documentation

◆ k_ptrace_word_size

unsigned k_ptrace_word_size = sizeof(void *)
staticconstexpr