LLDB mainline
Macros | Enumerations | Variables
RegisterInfoPOSIX_riscv64.cpp File Reference
#include <cassert>
#include <lldb/Utility/Flags.h>
#include <stddef.h>
#include "lldb/lldb-defines.h"
#include "llvm/Support/Compiler.h"
#include "RegisterInfoPOSIX_riscv64.h"
#include "RegisterInfos_riscv64.h"

Go to the source code of this file.

Macros

#define GPR_OFFSET(idx)   ((idx)*8 + 0)
 
#define FPR_OFFSET(idx)   ((idx)*8 + sizeof(RegisterInfoPOSIX_riscv64::GPR))
 
#define REG_CONTEXT_SIZE
 
#define DECLARE_REGISTER_INFOS_RISCV64_STRUCT
 

Enumerations

enum  { k_num_gpr_registers = gpr_last_riscv - gpr_first_riscv + 1 , k_num_fpr_registers = fpr_last_riscv - fpr_first_riscv + 1 , k_num_register_sets = 2 }
 

Variables

static const uint32_t g_gpr_regnums_riscv64 []
 
static const uint32_t g_fpr_regnums_riscv64 []
 
static const lldb_private::RegisterSet g_reg_sets_riscv64 [k_num_register_sets]
 

Macro Definition Documentation

◆ DECLARE_REGISTER_INFOS_RISCV64_STRUCT

#define DECLARE_REGISTER_INFOS_RISCV64_STRUCT

Definition at line 25 of file RegisterInfoPOSIX_riscv64.cpp.

◆ FPR_OFFSET

#define FPR_OFFSET (   idx)    ((idx)*8 + sizeof(RegisterInfoPOSIX_riscv64::GPR))

Definition at line 19 of file RegisterInfoPOSIX_riscv64.cpp.

◆ GPR_OFFSET

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

Definition at line 18 of file RegisterInfoPOSIX_riscv64.cpp.

◆ REG_CONTEXT_SIZE

#define REG_CONTEXT_SIZE

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
k_num_gpr_registers 
k_num_fpr_registers 
k_num_register_sets 

Definition at line 53 of file RegisterInfoPOSIX_riscv64.cpp.

Variable Documentation

◆ g_fpr_regnums_riscv64

const uint32_t g_fpr_regnums_riscv64[]
static
Initial value:
= {
#define LLDB_INVALID_REGNUM
Definition: lldb-defines.h:87

Definition at line 77 of file RegisterInfoPOSIX_riscv64.cpp.

◆ g_gpr_regnums_riscv64

const uint32_t g_gpr_regnums_riscv64[]
static
Initial value:
= {

Definition at line 60 of file RegisterInfoPOSIX_riscv64.cpp.

◆ g_reg_sets_riscv64

const lldb_private::RegisterSet g_reg_sets_riscv64[k_num_register_sets]
static
Initial value:
=
{{"General Purpose Registers", "gpr", k_num_gpr_registers,
{"Floating Point Registers", "fpr", k_num_fpr_registers,
static const uint32_t g_fpr_regnums_riscv64[]
static const uint32_t g_gpr_regnums_riscv64[]

Definition at line 94 of file RegisterInfoPOSIX_riscv64.cpp.

Referenced by RegisterInfoPOSIX_riscv64::GetRegisterSet().