15std::unique_ptr<RegisterContextCorePOSIX_loongarch64>
19 llvm::ArrayRef<CoreNote> notes) {
20 return std::unique_ptr<RegisterContextCorePOSIX_loongarch64>(
23 std::make_unique<RegisterInfoPOSIX_loongarch64>(arch,
Flags()),
29 std::unique_ptr<RegisterInfoPOSIX_loongarch64> register_info,
30 const DataExtractor &gpregset, llvm::ArrayRef<CoreNote> notes)
52 assert(
false &&
"Writing registers is not allowed for core dumps");
57 assert(
false &&
"Writing registers is not allowed for core dumps");
63 const uint8_t *src =
nullptr;
78 return error.Success();
static llvm::raw_ostream & error(Stream &strm)
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)
lldb_private::DataExtractor m_fpr
RegisterContextCorePOSIX_loongarch64(lldb_private::Thread &thread, std::unique_ptr< RegisterInfoPOSIX_loongarch64 > register_info, const lldb_private::DataExtractor &gpregset, llvm::ArrayRef< lldb_private::CoreNote > notes)
lldb_private::DataExtractor m_gpr
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
~RegisterContextCorePOSIX_loongarch64() override
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
virtual size_t GetGPRSize()
std::unique_ptr< RegisterInfoPOSIX_loongarch64 > m_register_info_up
An architecture specification class.
llvm::Triple & GetTriple()
Architecture triple accessor.
uint32_t SetFromMemoryData(const RegisterInfo ®_info, const void *src, uint32_t src_len, lldb::ByteOrder src_byte_order, Status &error)
A class that represents a running process on the host machine.
DataExtractor getRegset(llvm::ArrayRef< CoreNote > Notes, const llvm::Triple &Triple, llvm::ArrayRef< RegsetDesc > RegsetDescs)
constexpr RegsetDesc FPR_Desc[]
@ eRegisterKindLLDB
lldb's internal register numbers
Every register is described in detail including its name, alternate name (optional),...
uint32_t byte_offset
The byte offset in the register context data where this register's value is found.
uint32_t byte_size
Size in bytes of the register.
uint32_t kinds[lldb::kNumRegisterKinds]
Holds all of the various register numbers for all register kinds.