LLDB  mainline
Public Member Functions | List of all members
lldb_private::process_gdb_remote::GDBRemoteDynamicRegisterInfo Class Reference

#include <GDBRemoteRegisterContext.h>

Inheritance diagram for lldb_private::process_gdb_remote::GDBRemoteDynamicRegisterInfo:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::process_gdb_remote::GDBRemoteDynamicRegisterInfo:
Collaboration graph
[legend]

Public Member Functions

 GDBRemoteDynamicRegisterInfo ()
 
 ~GDBRemoteDynamicRegisterInfo () override=default
 
void HardcodeARMRegisters (bool from_scratch)
 
- Public Member Functions inherited from DynamicRegisterInfo
 DynamicRegisterInfo ()=default
 
 DynamicRegisterInfo (const lldb_private::StructuredData::Dictionary &dict, const lldb_private::ArchSpec &arch)
 
virtual ~DynamicRegisterInfo ()=default
 
 DynamicRegisterInfo (DynamicRegisterInfo &)=delete
 
void operator= (DynamicRegisterInfo &)=delete
 
 DynamicRegisterInfo (DynamicRegisterInfo &&info)
 
DynamicRegisterInfooperator= (DynamicRegisterInfo &&info)
 
size_t SetRegisterInfo (const lldb_private::StructuredData::Dictionary &dict, const lldb_private::ArchSpec &arch)
 
void AddRegister (lldb_private::RegisterInfo &reg_info, lldb_private::ConstString &reg_name, lldb_private::ConstString &reg_alt_name, lldb_private::ConstString &set_name)
 
void Finalize (const lldb_private::ArchSpec &arch)
 
size_t GetNumRegisters () const
 
size_t GetNumRegisterSets () const
 
size_t GetRegisterDataByteSize () const
 
const lldb_private::RegisterInfo * GetRegisterInfoAtIndex (uint32_t i) const
 
lldb_private::RegisterInfo * GetRegisterInfoAtIndex (uint32_t i)
 
const lldb_private::RegisterSet * GetRegisterSet (uint32_t i) const
 
uint32_t GetRegisterSetIndexByName (lldb_private::ConstString &set_name, bool can_create)
 
uint32_t ConvertRegisterKindToRegisterNumber (uint32_t kind, uint32_t num) const
 
void Dump () const
 
void Clear ()
 

Additional Inherited Members

- Protected Types inherited from DynamicRegisterInfo
typedef std::vector< lldb_private::RegisterInfo > reg_collection
 
typedef std::vector< lldb_private::RegisterSet > set_collection
 
typedef std::vector< uint32_treg_num_collection
 
typedef std::vector< reg_num_collectionset_reg_num_collection
 
typedef std::vector< lldb_private::ConstStringname_collection
 
typedef std::map< uint32_t, reg_num_collectionreg_to_regs_map
 
typedef std::vector< uint8_t > dwarf_opcode
 
typedef std::map< uint32_t, dwarf_opcodedynamic_reg_size_map
 
- Protected Member Functions inherited from DynamicRegisterInfo
const lldb_private::RegisterInfo * GetRegisterInfo (lldb_private::ConstString reg_name) const
 
void MoveFrom (DynamicRegisterInfo &&info)
 
- Protected Attributes inherited from DynamicRegisterInfo
reg_collection m_regs
 
set_collection m_sets
 
set_reg_num_collection m_set_reg_nums
 
name_collection m_set_names
 
reg_to_regs_map m_value_regs_map
 
reg_to_regs_map m_invalidate_regs_map
 
dynamic_reg_size_map m_dynamic_reg_size_map
 
size_t m_reg_data_byte_size = 0u
 
bool m_finalized = false
 

Detailed Description

Definition at line 31 of file GDBRemoteRegisterContext.h.

Constructor & Destructor Documentation

◆ GDBRemoteDynamicRegisterInfo()

lldb_private::process_gdb_remote::GDBRemoteDynamicRegisterInfo::GDBRemoteDynamicRegisterInfo ( )
inline

◆ ~GDBRemoteDynamicRegisterInfo()

lldb_private::process_gdb_remote::GDBRemoteDynamicRegisterInfo::~GDBRemoteDynamicRegisterInfo ( )
overridedefault

Member Function Documentation

◆ HardcodeARMRegisters()

void GDBRemoteDynamicRegisterInfo::HardcodeARMRegisters ( bool  from_scratch)

Definition at line 685 of file GDBRemoteRegisterContext.cpp.

References dwarf_cpsr, dwarf_d0, dwarf_d1, dwarf_d10, dwarf_d11, dwarf_d12, dwarf_d13, dwarf_d14, dwarf_d15, dwarf_d16, dwarf_d17, dwarf_d18, dwarf_d19, dwarf_d2, dwarf_d20, dwarf_d21, dwarf_d22, dwarf_d23, dwarf_d24, dwarf_d25, dwarf_d26, dwarf_d27, dwarf_d28, dwarf_d29, dwarf_d3, dwarf_d30, dwarf_d31, dwarf_d4, dwarf_d5, dwarf_d6, dwarf_d7, dwarf_d8, dwarf_d9, dwarf_lr, dwarf_pc, dwarf_q0, dwarf_q1, dwarf_q10, dwarf_q11, dwarf_q12, dwarf_q13, dwarf_q14, dwarf_q15, dwarf_q2, dwarf_q3, dwarf_q4, dwarf_q5, dwarf_q6, dwarf_q7, dwarf_q8, dwarf_q9, dwarf_r0, dwarf_r1, dwarf_r10, dwarf_r11, dwarf_r12, dwarf_r2, dwarf_r3, dwarf_r4, dwarf_r5, dwarf_r6, dwarf_r7, dwarf_r8, dwarf_r9, dwarf_s0, dwarf_s1, dwarf_s10, dwarf_s11, dwarf_s12, dwarf_s13, dwarf_s14, dwarf_s15, dwarf_s16, dwarf_s17, dwarf_s18, dwarf_s19, dwarf_s2, dwarf_s20, dwarf_s21, dwarf_s22, dwarf_s23, dwarf_s24, dwarf_s25, dwarf_s26, dwarf_s27, dwarf_s28, dwarf_s29, dwarf_s3, dwarf_s30, dwarf_s31, dwarf_s4, dwarf_s5, dwarf_s6, dwarf_s7, dwarf_s8, dwarf_s9, dwarf_sp, lldb::eEncodingIEEE754, lldb::eEncodingUint, lldb::eEncodingVector, lldb::eFormatFloat, lldb::eFormatHex, lldb::eFormatVectorOfUInt8, ehframe_cpsr, ehframe_lr, ehframe_pc, ehframe_r0, ehframe_r1, ehframe_r10, ehframe_r11, ehframe_r12, ehframe_r2, ehframe_r3, ehframe_r4, ehframe_r5, ehframe_r6, ehframe_r7, ehframe_r8, ehframe_r9, ehframe_sp, g_register_infos, lldb_private::process_gdb_remote::GDBRemoteRegisterContext::GetRegisterInfoAtIndex(), LLDB_INVALID_REGNUM, LLDB_REGNUM_GENERIC_ARG1, LLDB_REGNUM_GENERIC_ARG2, LLDB_REGNUM_GENERIC_ARG3, LLDB_REGNUM_GENERIC_ARG4, LLDB_REGNUM_GENERIC_FP, LLDB_REGNUM_GENERIC_PC, LLDB_REGNUM_GENERIC_RA, LLDB_REGNUM_GENERIC_SP, lldb_private::ConstString::SetCString(), and strcasecmp().

Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::BuildDynamicRegisterInfo(), and GDBRemoteDynamicRegisterInfo().


The documentation for this class was generated from the following files: