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

Go to the source code of this file.

Macros

#define GPR_OFFSET(idx)   ((idx)*8)
 
#define GPR_OFFSET_NAME(reg)   (LLVM_EXTENSION offsetof(RegisterInfoPOSIX_arm64::GPR, reg))
 
#define FPU_OFFSET(idx)   ((idx)*16 + sizeof(RegisterInfoPOSIX_arm64::GPR))
 
#define FPU_OFFSET_NAME(reg)
 
#define EXC_OFFSET_NAME(reg)
 
#define DBG_OFFSET_NAME(reg)
 
#define DEFINE_DBG(reg, i)
 
#define REG_CONTEXT_SIZE
 
#define DECLARE_REGISTER_INFOS_ARM64_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_NAME

#define DBG_OFFSET_NAME (   reg)

◆ DECLARE_REGISTER_INFOS_ARM64_STRUCT

#define DECLARE_REGISTER_INFOS_ARM64_STRUCT

Definition at line 52 of file RegisterInfoPOSIX_arm64.cpp.

◆ DEFINE_DBG

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

Definition at line 38 of file RegisterInfoPOSIX_arm64.cpp.

◆ EXC_OFFSET_NAME

#define EXC_OFFSET_NAME (   reg)

◆ FPU_OFFSET

#define FPU_OFFSET (   idx)    ((idx)*16 + sizeof(RegisterInfoPOSIX_arm64::GPR))

Definition at line 23 of file RegisterInfoPOSIX_arm64.cpp.

◆ FPU_OFFSET_NAME

#define FPU_OFFSET_NAME (   reg)

◆ GPR_OFFSET

#define GPR_OFFSET (   idx)    ((idx)*8)

Definition at line 19 of file RegisterInfoPOSIX_arm64.cpp.

◆ GPR_OFFSET_NAME

#define GPR_OFFSET_NAME (   reg)    (LLVM_EXTENSION offsetof(RegisterInfoPOSIX_arm64::GPR, reg))

Definition at line 20 of file RegisterInfoPOSIX_arm64.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 68 of file RegisterInfoPOSIX_arm64.cpp.

References lldb_private::ArchSpec::GetMachine().

◆ GetRegisterInfoPtr()

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

Definition at line 57 of file RegisterInfoPOSIX_arm64.cpp.

References lldb_private::ArchSpec::GetMachine().