17 : m_reg_ctx_sp(thread.GetRegisterContext()), m_regnum(num), m_kind(kind),
18 m_kind_regnum_map(), m_name(
"") {
23 if (reginfo && reginfo->
name) {
40 if (reginfo && reginfo->
name) {
69 {
return lhs_regnum == rhs.
m_regnum; }
A class to represent register numbers, and able to convert between different register numbering schem...
lldb::RegisterContextSP m_reg_ctx_sp
bool operator==(RegisterNumber &rhs)
uint32_t GetAsKind(lldb::RegisterKind kind)
lldb::RegisterKind GetRegisterKind() const
const RegisterNumber & operator=(const RegisterNumber &rhs)
uint32_t GetRegisterNumber() const
bool operator!=(RegisterNumber &rhs)
lldb::RegisterKind m_kind
void init(lldb_private::Thread &thread, lldb::RegisterKind kind, uint32_t num)
Collection m_kind_regnum_map
virtual lldb::RegisterContextSP GetRegisterContext()=0
#define LLDB_INVALID_REGNUM
A class that represents a running process on the host machine.
RegisterKind
Register numbering types.
@ eRegisterKindLLDB
lldb's internal register numbers
Every register is described in detail including its name, alternate name (optional),...
const char * name
Name of this register, can't be NULL.