10#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWIN_ARM64_H
11#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTDARWIN_ARM64_H
17#define S_RSVD ((uint32_t)(0u << 1))
18#define S_PRIV ((uint32_t)(1u << 1))
19#define S_USER ((uint32_t)(2u << 1))
20#define S_PRIV_USER ((S_PRIV) | (S_USER))
22#define WCR_ENABLE ((uint32_t)(1u))
25#define WCR_LOAD ((uint32_t)(1u << 3))
26#define WCR_STORE ((uint32_t)(1u << 4))
31 uint32_t concrete_frame_idx);
56 uint32_t num)
override;
116 sizeof(
EXC) /
sizeof(uint32_t),
157 bool SetError(
int flavor, uint32_t err_idx,
int err) {
bool ClearHardwareWatchpoint(uint32_t hw_index) override
virtual int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc)=0
static int GetSetForNativeRegNum(int reg_num)
virtual int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg)=0
virtual int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu)=0
static const lldb_private::RegisterInfo * GetRegisterInfos()
int GetError(int flavor, uint32_t err_idx) const
bool RegisterSetIsCached(int set) const
size_t GetRegisterCount() override
virtual int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu)=0
virtual int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc)=0
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue ®_value) override
int ReadRegisterSet(uint32_t set, bool force)
bool SetError(int flavor, uint32_t err_idx, int err)
void InvalidateAllRegisterStates()
uint32_t SetHardwareWatchpoint(lldb::addr_t addr, size_t size, bool read, bool write) override
static uint32_t GetRegisterNumber(uint32_t reg_kind, uint32_t reg_num)
bool ReadAllRegisterValues(lldb::WritableDataBufferSP &data_sp) override
const lldb_private::RegisterInfo * GetRegisterInfoAtIndex(size_t reg) override
virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr)
void InvalidateAllRegisters() override
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue ®_value) override
virtual int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg)=0
uint32_t ConvertRegisterKindToRegisterNumber(lldb::RegisterKind kind, uint32_t num) override
Convert from a given register numbering scheme to the lldb register numbering scheme.
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override
uint32_t NumSupportedHardwareWatchpoints() override
~RegisterContextDarwin_arm64() override
static void LogDBGRegisters(lldb_private::Log *log, const DBG &dbg)
const lldb_private::RegisterSet * GetRegisterSet(size_t set) override
virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr)=0
static size_t GetRegisterInfosCount()
int WriteRegisterSet(uint32_t set)
size_t GetRegisterSetCount() override
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
std::shared_ptr< lldb_private::WritableDataBuffer > WritableDataBufferSP
RegisterKind
Register numbering types.
Every register is described in detail including its name, alternate name (optional),...
Registers are grouped into register sets.