LLDB mainline
|
#include <RegisterContextPOSIXCore_loongarch64.h>
Static Public Member Functions | |
static std::unique_ptr< RegisterContextCorePOSIX_loongarch64 > | Create (lldb_private::Thread &thread, const lldb_private::ArchSpec &arch, const lldb_private::DataExtractor &gpregset, llvm::ArrayRef< lldb_private::CoreNote > notes) |
Protected Member Functions | |
RegisterContextCorePOSIX_loongarch64 (lldb_private::Thread &thread, std::unique_ptr< RegisterInfoPOSIX_loongarch64 > register_info, const lldb_private::DataExtractor &gpregset, llvm::ArrayRef< lldb_private::CoreNote > notes) | |
bool | ReadGPR () override |
bool | ReadFPR () override |
bool | WriteGPR () override |
bool | WriteFPR () override |
Protected Member Functions inherited from RegisterContextPOSIX_loongarch64 | |
virtual const lldb_private::RegisterInfo * | GetRegisterInfo () |
bool | IsGPR (unsigned reg) |
bool | IsFPR (unsigned reg) |
bool | IsLSX (unsigned reg) |
bool | IsLASX (unsigned reg) |
size_t | GetFPRSize () |
uint32_t | GetRegNumFCSR () const |
virtual bool | ReadLSX () |
virtual bool | ReadLASX () |
virtual bool | WriteLSX () |
virtual bool | WriteLASX () |
Protected Member Functions inherited from lldb_private::RegisterContext | |
virtual bool | BehavesLikeZerothFrame () const |
Indicates that this frame is currently executing code, that the PC value is not a return-pc but an actual executing instruction. |
Private Attributes | |
lldb_private::DataExtractor | m_gpr |
lldb_private::DataExtractor | m_fpr |
Additional Inherited Members | |
Protected Attributes inherited from RegisterContextPOSIX_loongarch64 | |
std::unique_ptr< RegisterInfoPOSIX_loongarch64 > | m_register_info_up |
Protected Attributes inherited from lldb_private::RegisterContext | |
Thread & | m_thread |
uint32_t | m_concrete_frame_idx |
uint32_t | m_stop_id |
Definition at line 22 of file RegisterContextPOSIXCore_loongarch64.h.
|
overridedefault |
|
protected |
Definition at line 27 of file RegisterContextPOSIXCore_loongarch64.cpp.
References lldb_private::FPR_Desc, lldb_private::DataExtractor::GetByteOrder(), lldb_private::DataExtractor::GetByteSize(), lldb_private::DataExtractor::GetDataStart(), lldb_private::getRegset(), m_fpr, m_gpr, RegisterContextPOSIX_loongarch64::m_register_info_up, and RegisterContextPOSIX_loongarch64::RegisterContextPOSIX_loongarch64().
Referenced by Create().
|
static |
Definition at line 16 of file RegisterContextPOSIXCore_loongarch64.cpp.
References RegisterContextCorePOSIX_loongarch64().
Referenced by ThreadElfCore::CreateRegisterContextForFrame().
|
overrideprotectedvirtual |
Implements RegisterContextPOSIX_loongarch64.
Definition at line 49 of file RegisterContextPOSIXCore_loongarch64.cpp.
|
overrideprotectedvirtual |
Implements RegisterContextPOSIX_loongarch64.
Definition at line 47 of file RegisterContextPOSIXCore_loongarch64.cpp.
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 61 of file RegisterContextPOSIXCore_loongarch64.cpp.
References lldb_private::RegisterInfo::byte_offset, lldb_private::RegisterInfo::byte_size, lldb::eByteOrderLittle, lldb::eRegisterKindLLDB, error(), RegisterContextPOSIX_loongarch64::GetGPRSize(), RegisterContextPOSIX_loongarch64::IsFPR(), RegisterContextPOSIX_loongarch64::IsGPR(), lldb_private::RegisterInfo::kinds, m_fpr, m_gpr, and lldb_private::RegisterValue::SetFromMemoryData().
|
overrideprotectedvirtual |
Implements RegisterContextPOSIX_loongarch64.
Definition at line 56 of file RegisterContextPOSIXCore_loongarch64.cpp.
|
overrideprotectedvirtual |
Implements RegisterContextPOSIX_loongarch64.
Definition at line 51 of file RegisterContextPOSIXCore_loongarch64.cpp.
|
overridevirtual |
Implements lldb_private::RegisterContext.
Definition at line 81 of file RegisterContextPOSIXCore_loongarch64.cpp.
|
private |
Definition at line 55 of file RegisterContextPOSIXCore_loongarch64.h.
Referenced by ReadRegister(), and RegisterContextCorePOSIX_loongarch64().
|
private |
Definition at line 54 of file RegisterContextPOSIXCore_loongarch64.h.
Referenced by ReadRegister(), and RegisterContextCorePOSIX_loongarch64().