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
17public:
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
30protected:
31 size_t GetFPRSize() const;
32
33 size_t GetVMXSize() const;
34
35 size_t GetVSXSize() const;
36
37private:
46};
47
48#endif // LLDB_SOURCE_PLUGINS_PROCESS_ELF_CORE_REGISTERCONTEXTPOSIXCORE_PPC64LE_H
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
An data extractor class.
Definition: DataExtractor.h:48
RegisterInfo interface to patch RegisterInfo structure for archs.
std::shared_ptr< lldb_private::DataBuffer > DataBufferSP
Definition: lldb-forward.h:334
Every register is described in detail including its name, alternate name (optional),...