LLDB  mainline
Macros | Functions
RegisterInfoPOSIX_arm.cpp File Reference
#include <cassert>
#include <stddef.h>
#include <vector>
#include "lldb/lldb-defines.h"
#include "llvm/Support/Compiler.h"
#include "RegisterInfoPOSIX_arm.h"
#include "RegisterInfos_arm.h"
Include dependency graph for RegisterInfoPOSIX_arm.cpp:

Go to the source code of this file.

Macros

#define GPR_OFFSET(idx)   ((idx)*4)
 
#define FPU_OFFSET(idx)   ((idx)*4 + sizeof(RegisterInfoPOSIX_arm::GPR))
 
#define FPSCR_OFFSET
 
#define EXC_OFFSET(idx)
 
#define DBG_OFFSET(reg)
 
#define DEFINE_DBG(reg, i)
 
#define REG_CONTEXT_SIZE
 
#define DECLARE_REGISTER_INFOS_ARM_STRUCT
 

Functions

static const lldb_private::RegisterInfo * GetRegisterInfoPtr (const lldb_private::ArchSpec &target_arch)
 
static uint32_t GetRegisterInfoCount (const lldb_private::ArchSpec &target_arch)
 

Macro Definition Documentation

◆ DBG_OFFSET

#define DBG_OFFSET (   reg)

◆ DECLARE_REGISTER_INFOS_ARM_STRUCT

#define DECLARE_REGISTER_INFOS_ARM_STRUCT

Definition at line 47 of file RegisterInfoPOSIX_arm.cpp.

◆ DEFINE_DBG

#define DEFINE_DBG (   reg,
 
)
Value:
#reg, NULL, sizeof(((RegisterInfoPOSIX_arm::DBG *) NULL)->reg[i]), \
DBG_OFFSET(reg[i]), eEncodingUint, eFormatHex, \
{LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, \
LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, \
dbg_##reg##i }, \
NULL, NULL, NULL, 0

Definition at line 35 of file RegisterInfoPOSIX_arm.cpp.

◆ EXC_OFFSET

#define EXC_OFFSET (   idx)

◆ FPSCR_OFFSET

#define FPSCR_OFFSET

◆ FPU_OFFSET

#define FPU_OFFSET (   idx)    ((idx)*4 + sizeof(RegisterInfoPOSIX_arm::GPR))

Definition at line 23 of file RegisterInfoPOSIX_arm.cpp.

◆ GPR_OFFSET

#define GPR_OFFSET (   idx)    ((idx)*4)

Definition at line 22 of file RegisterInfoPOSIX_arm.cpp.

◆ REG_CONTEXT_SIZE

#define REG_CONTEXT_SIZE

Function Documentation

◆ GetRegisterInfoCount()

static uint32_t GetRegisterInfoCount ( const lldb_private::ArchSpec target_arch)
static

Definition at line 63 of file RegisterInfoPOSIX_arm.cpp.

References lldb_private::ArchSpec::GetMachine().

◆ GetRegisterInfoPtr()

static const lldb_private::RegisterInfo* GetRegisterInfoPtr ( const lldb_private::ArchSpec target_arch)
static

Definition at line 52 of file RegisterInfoPOSIX_arm.cpp.

References lldb_private::ArchSpec::GetMachine().