LLDB mainline
|
RegisterInfo interface to patch RegisterInfo structure for archs. More...
#include <RegisterInfoInterface.h>
Public Member Functions | |
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 |
Private Attributes | |
lldb_private::ArchSpec | m_target_arch |
RegisterInfo interface to patch RegisterInfo structure for archs.
Definition at line 21 of file RegisterInfoInterface.h.
|
inline |
Definition at line 23 of file RegisterInfoInterface.h.
|
virtualdefault |
|
pure virtual |
Implemented in RegisterContextFreeBSD_i386, RegisterContextFreeBSD_mips64, RegisterContextFreeBSD_powerpc, RegisterContextFreeBSD_powerpc32, RegisterContextFreeBSD_powerpc64, RegisterContextFreeBSD_x86_64, RegisterContextLinux_i386, RegisterContextLinux_s390x, RegisterContextLinux_x86_64, RegisterContextNetBSD_i386, RegisterContextNetBSD_x86_64, RegisterContextOpenBSD_i386, RegisterContextOpenBSD_x86_64, RegisterContextWindows_i386, RegisterContextWindows_x86_64, RegisterInfoPOSIX_arm, RegisterInfoPOSIX_arm64, RegisterInfoPOSIX_loongarch64, RegisterInfoPOSIX_ppc64le, and RegisterInfoPOSIX_riscv64.
Referenced by lldb_private::minidump::ConvertMinidumpContext_x86_32(), lldb_private::minidump::ConvertMinidumpContext_x86_64(), and lldb_private::process_linux::NativeRegisterContextLinux::GetGPRSize().
|
pure virtual |
Implemented in RegisterContextFreeBSD_i386, RegisterContextFreeBSD_mips64, RegisterContextFreeBSD_powerpc, RegisterContextFreeBSD_powerpc32, RegisterContextFreeBSD_powerpc64, RegisterContextFreeBSD_x86_64, RegisterContextLinux_i386, RegisterContextLinux_s390x, RegisterContextLinux_x86_64, RegisterContextNetBSD_i386, RegisterContextNetBSD_x86_64, RegisterContextOpenBSD_i386, RegisterContextOpenBSD_x86_64, RegisterContextWindows_i386, RegisterContextWindows_x86_64, RegisterInfoPOSIX_arm, RegisterInfoPOSIX_arm64, RegisterInfoPOSIX_loongarch64, RegisterInfoPOSIX_ppc64le, and RegisterInfoPOSIX_riscv64.
Referenced by GetUserRegisterCount().
|
pure virtual |
Implemented in RegisterContextFreeBSD_i386, RegisterContextFreeBSD_mips64, RegisterContextFreeBSD_powerpc, RegisterContextFreeBSD_powerpc32, RegisterContextFreeBSD_powerpc64, RegisterContextFreeBSD_x86_64, RegisterContextLinux_i386, RegisterContextLinux_s390x, RegisterContextLinux_x86_64, RegisterContextNetBSD_i386, RegisterContextNetBSD_x86_64, RegisterContextOpenBSD_i386, RegisterContextOpenBSD_x86_64, RegisterContextWindows_i386, RegisterContextWindows_x86_64, RegisterInfoPOSIX_arm, RegisterInfoPOSIX_arm64, RegisterInfoPOSIX_loongarch64, RegisterInfoPOSIX_ppc64le, and RegisterInfoPOSIX_riscv64.
Referenced by lldb_private::minidump::ConvertMinidumpContext_x86_32(), and lldb_private::minidump::ConvertMinidumpContext_x86_64().
|
inline |
Definition at line 40 of file RegisterInfoInterface.h.
References m_target_arch.
Referenced by RegisterContextFreeBSD_i386::GetRegisterInfo(), RegisterContextFreeBSD_mips64::GetRegisterInfo(), RegisterContextFreeBSD_powerpc64::GetRegisterInfo(), RegisterContextLinux_i386::GetRegisterInfo(), RegisterContextNetBSD_i386::GetRegisterInfo(), RegisterContextOpenBSD_i386::GetRegisterInfo(), RegisterContextCorePOSIX_mips64::RegisterContextCorePOSIX_mips64(), RegisterContextCorePOSIX_powerpc::RegisterContextCorePOSIX_powerpc(), RegisterContextCorePOSIX_ppc64le::RegisterContextCorePOSIX_ppc64le(), RegisterContextCorePOSIX_s390x::RegisterContextCorePOSIX_s390x(), RegisterContextCorePOSIX_x86_64::RegisterContextCorePOSIX_x86_64(), and RegisterContextPOSIX_s390x::RegisterContextPOSIX_s390x().
|
inlinevirtual |
Reimplemented in RegisterContextLinux_i386, RegisterContextLinux_s390x, RegisterContextLinux_x86_64, RegisterContextNetBSD_x86_64, RegisterContextWindows_i386, and RegisterContextWindows_x86_64.
Definition at line 38 of file RegisterInfoInterface.h.
References GetRegisterCount().
|
private |
Definition at line 45 of file RegisterInfoInterface.h.
Referenced by GetTargetArchitecture().