LLDB mainline
|
#include <RegisterInfoPOSIX_riscv64.h>
Classes | |
struct | FPR |
struct | GPR |
struct | VPR |
Public Types | |
enum | { GPRegSet = 0 , FPRegSet } |
Public Member Functions | |
RegisterInfoPOSIX_riscv64 (const lldb_private::ArchSpec &target_arch, lldb_private::Flags flags) | |
size_t | GetGPRSize () const override |
size_t | GetFPRSize () const override |
const lldb_private::RegisterInfo * | GetRegisterInfo () const override |
uint32_t | GetRegisterCount () const override |
const lldb_private::RegisterSet * | GetRegisterSet (size_t reg_set) const override |
size_t | GetRegisterSetCount () const override |
size_t | GetRegisterSetFromRegisterIndex (uint32_t reg_index) const override |
Public Member Functions inherited from lldb_private::RegisterInfoAndSetInterface | |
RegisterInfoAndSetInterface (const lldb_private::ArchSpec &target_arch) | |
virtual size_t | GetFPRSize () const =0 |
virtual const lldb_private::RegisterSet * | GetRegisterSet (size_t reg_set) const =0 |
virtual size_t | GetRegisterSetCount () const =0 |
virtual size_t | GetRegisterSetFromRegisterIndex (uint32_t reg_index) const =0 |
Public Member Functions inherited from lldb_private::RegisterInfoInterface | |
RegisterInfoInterface (const lldb_private::ArchSpec &target_arch) | |
virtual | ~RegisterInfoInterface ()=default |
virtual size_t | GetGPRSize () const =0 |
virtual const lldb_private::RegisterInfo * | GetRegisterInfo () const =0 |
virtual uint32_t | GetRegisterCount () const =0 |
virtual uint32_t | GetUserRegisterCount () const |
const lldb_private::ArchSpec & | GetTargetArchitecture () const |
Static Public Member Functions | |
static const lldb_private::RegisterInfo * | GetRegisterInfoPtr (const lldb_private::ArchSpec &target_arch) |
static uint32_t | GetRegisterInfoCount (const lldb_private::ArchSpec &target_arch) |
Private Attributes | |
const lldb_private::RegisterInfo * | m_register_info_p |
uint32_t | m_register_info_count |
Definition at line 17 of file RegisterInfoPOSIX_riscv64.h.
anonymous enum |
Enumerator | |
---|---|
GPRegSet | |
FPRegSet |
Definition at line 26 of file RegisterInfoPOSIX_riscv64.h.
RegisterInfoPOSIX_riscv64::RegisterInfoPOSIX_riscv64 | ( | const lldb_private::ArchSpec & | target_arch, |
lldb_private::Flags | flags | ||
) |
Definition at line 100 of file RegisterInfoPOSIX_riscv64.cpp.
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 114 of file RegisterInfoPOSIX_riscv64.cpp.
|
overridevirtual |
Implements lldb_private::RegisterInfoInterface.
Definition at line 110 of file RegisterInfoPOSIX_riscv64.cpp.
|
overridevirtual |
Implements lldb_private::RegisterInfoInterface.
Definition at line 106 of file RegisterInfoPOSIX_riscv64.cpp.
References m_register_info_count.
|
overridevirtual |
Implements lldb_private::RegisterInfoInterface.
Definition at line 119 of file RegisterInfoPOSIX_riscv64.cpp.
References m_register_info_p.
|
static |
Definition at line 40 of file RegisterInfoPOSIX_riscv64.cpp.
References lldb_private::ArchSpec::GetMachine().
Referenced by lldb_private::EmulateInstructionRISCV::GetRegisterInfo().
|
static |
Definition at line 29 of file RegisterInfoPOSIX_riscv64.cpp.
References lldb_private::ArchSpec::GetMachine().
Referenced by lldb_private::EmulateInstructionRISCV::GetRegisterInfo().
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 138 of file RegisterInfoPOSIX_riscv64.cpp.
References g_reg_sets_riscv64, and GetRegisterSetCount().
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 123 of file RegisterInfoPOSIX_riscv64.cpp.
References k_num_register_sets.
Referenced by GetRegisterSet().
|
overridevirtual |
Implements lldb_private::RegisterInfoAndSetInterface.
Definition at line 127 of file RegisterInfoPOSIX_riscv64.cpp.
References fpr_first_riscv, fpr_last_riscv, FPRegSet, gpr_first_riscv, gpr_last_riscv, GPRegSet, and LLDB_INVALID_REGNUM.
|
private |
Definition at line 63 of file RegisterInfoPOSIX_riscv64.h.
Referenced by GetRegisterCount().
|
private |
Definition at line 62 of file RegisterInfoPOSIX_riscv64.h.
Referenced by GetRegisterInfo().