LLDB  mainline
RegisterContextPOSIXCore_ppc64le.h
Go to the documentation of this file.
1 //===-- RegisterContextPOSIXCore_ppc64le.h ----------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_PPC64LE_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_PPC64LE_H
11 
15 
17 public:
19  lldb_private::Thread &thread,
21  const lldb_private::DataExtractor &gpregset,
22  llvm::ArrayRef<lldb_private::CoreNote> notes);
23 
24  bool ReadRegister(const lldb_private::RegisterInfo *reg_info,
25  lldb_private::RegisterValue &value) override;
26 
27  bool WriteRegister(const lldb_private::RegisterInfo *reg_info,
28  const lldb_private::RegisterValue &value) override;
29 
30 protected:
31  size_t GetFPRSize() const;
32 
33  size_t GetVMXSize() const;
34 
35  size_t GetVSXSize() const;
36 
37 private:
38  lldb::DataBufferSP m_gpr_buffer;
39  lldb::DataBufferSP m_fpr_buffer;
40  lldb::DataBufferSP m_vmx_buffer;
41  lldb::DataBufferSP m_vsx_buffer;
46 };
47 
48 #endif // LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_PPC64LE_H
RegisterContextCorePOSIX_ppc64le::m_fpr_buffer
lldb::DataBufferSP m_fpr_buffer
Definition: RegisterContextPOSIXCore_ppc64le.h:39
lldb_private::RegisterValue
Definition: RegisterValue.h:28
RegisterContextPOSIX_ppc64le.h
lldb_private::RegisterInfoInterface
Definition: RegisterInfoInterface.h:21
RegisterContextCorePOSIX_ppc64le::WriteRegister
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
Definition: RegisterContextPOSIXCore_ppc64le.cpp:130
RegisterUtilities.h
RegisterContextCorePOSIX_ppc64le::m_gpr
lldb_private::DataExtractor m_gpr
Definition: RegisterContextPOSIXCore_ppc64le.h:42
RegisterContextCorePOSIX_ppc64le
Definition: RegisterContextPOSIXCore_ppc64le.h:16
RegisterContextCorePOSIX_ppc64le::m_fpr
lldb_private::DataExtractor m_fpr
Definition: RegisterContextPOSIXCore_ppc64le.h:43
RegisterContextPOSIX_ppc64le
Definition: RegisterContextPOSIX_ppc64le.h:18
RegisterContextCorePOSIX_ppc64le::m_vmx_buffer
lldb::DataBufferSP m_vmx_buffer
Definition: RegisterContextPOSIXCore_ppc64le.h:40
lldb_private::DataExtractor
Definition: DataExtractor.h:48
RegisterContextCorePOSIX_ppc64le::ReadRegister
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
Definition: RegisterContextPOSIXCore_ppc64le.cpp:64
lldb_private::Thread
Definition: Thread.h:60
RegisterContextCorePOSIX_ppc64le::RegisterContextCorePOSIX_ppc64le
RegisterContextCorePOSIX_ppc64le(lldb_private::Thread &thread, lldb_private::RegisterInfoInterface *register_info, const lldb_private::DataExtractor &gpregset, llvm::ArrayRef< lldb_private::CoreNote > notes)
Definition: RegisterContextPOSIXCore_ppc64le.cpp:22
RegisterContextCorePOSIX_ppc64le::m_gpr_buffer
lldb::DataBufferSP m_gpr_buffer
Definition: RegisterContextPOSIXCore_ppc64le.h:38
RegisterContextCorePOSIX_ppc64le::m_vsx
lldb_private::DataExtractor m_vsx
Definition: RegisterContextPOSIXCore_ppc64le.h:45
RegisterContextCorePOSIX_ppc64le::GetVMXSize
size_t GetVMXSize() const
Definition: RegisterContextPOSIXCore_ppc64le.cpp:55
RegisterContextCorePOSIX_ppc64le::m_vmx
lldb_private::DataExtractor m_vmx
Definition: RegisterContextPOSIXCore_ppc64le.h:44
RegisterContextCorePOSIX_ppc64le::GetFPRSize
size_t GetFPRSize() const
Definition: RegisterContextPOSIXCore_ppc64le.cpp:51
DataExtractor.h
RegisterContextCorePOSIX_ppc64le::m_vsx_buffer
lldb::DataBufferSP m_vsx_buffer
Definition: RegisterContextPOSIXCore_ppc64le.h:41
RegisterContextCorePOSIX_ppc64le::GetVSXSize
size_t GetVSXSize() const
Definition: RegisterContextPOSIXCore_ppc64le.cpp:60