LLDB  mainline
Public Member Functions | Public Attributes | List of all members
lldb_private::RegisterInfoInterface Class Referenceabstract

RegisterInfo interface to patch RegisterInfo structure for archs. More...

#include <RegisterInfoInterface.h>

Inheritance diagram for lldb_private::RegisterInfoInterface:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::RegisterInfoInterface:
Collaboration graph
[legend]

Public Member Functions

 RegisterInfoInterface (const lldb_private::ArchSpec &target_arch)
 
virtual ~RegisterInfoInterface ()
 
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::ArchSpecGetTargetArchitecture () const
 
virtual const lldb_private::RegisterInfo * GetDynamicRegisterInfo (const char *reg_name) const
 
virtual const std::vector< lldb_private::RegisterInfo > * GetDynamicRegisterInfoP () const
 

Public Attributes

lldb_private::ArchSpec m_target_arch
 

Detailed Description

RegisterInfo interface to patch RegisterInfo structure for archs.

Definition at line 21 of file RegisterInfoInterface.h.

Constructor & Destructor Documentation

◆ RegisterInfoInterface()

lldb_private::RegisterInfoInterface::RegisterInfoInterface ( const lldb_private::ArchSpec target_arch)
inline

Definition at line 23 of file RegisterInfoInterface.h.

◆ ~RegisterInfoInterface()

virtual lldb_private::RegisterInfoInterface::~RegisterInfoInterface ( )
inlinevirtual

Definition at line 25 of file RegisterInfoInterface.h.

References GetGPRSize(), GetRegisterCount(), and GetRegisterInfo().

Member Function Documentation

◆ GetDynamicRegisterInfo()

virtual const lldb_private::RegisterInfo* lldb_private::RegisterInfoInterface::GetDynamicRegisterInfo ( const char *  reg_name) const
inlinevirtual

Definition at line 45 of file RegisterInfoInterface.h.

References GetDynamicRegisterInfoP().

◆ GetDynamicRegisterInfoP()

virtual const std::vector<lldb_private::RegisterInfo>* lldb_private::RegisterInfoInterface::GetDynamicRegisterInfoP ( ) const
inlinevirtual

◆ GetGPRSize()

virtual size_t lldb_private::RegisterInfoInterface::GetGPRSize ( ) const
pure virtual

◆ GetRegisterCount()

virtual uint32_t lldb_private::RegisterInfoInterface::GetRegisterCount ( ) const
pure virtual

◆ GetRegisterInfo()

virtual const lldb_private::RegisterInfo* lldb_private::RegisterInfoInterface::GetRegisterInfo ( ) const
pure virtual

◆ GetTargetArchitecture()

const lldb_private::ArchSpec& lldb_private::RegisterInfoInterface::GetTargetArchitecture ( ) const
inline

◆ GetUserRegisterCount()

virtual uint32_t lldb_private::RegisterInfoInterface::GetUserRegisterCount ( ) const
inlinevirtual

Member Data Documentation

◆ m_target_arch

lldb_private::ArchSpec lldb_private::RegisterInfoInterface::m_target_arch

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