LLDB mainline
RegisterContextFreeBSDKernel_arm64.h
Go to the documentation of this file.
1//===-- RegisterContextFreeBSDKernel_arm64.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_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNEL_ARM64_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNEL_ARM64_H
11
14
16public:
19 std::unique_ptr<RegisterInfoPOSIX_arm64> register_info_up,
20 lldb::addr_t pcb_addr);
21
22 bool ReadRegister(const lldb_private::RegisterInfo *reg_info,
23 lldb_private::RegisterValue &value) override;
24
25 bool WriteRegister(const lldb_private::RegisterInfo *reg_info,
26 const lldb_private::RegisterValue &value) override;
27
28protected:
29 bool ReadGPR() override;
30
31 bool ReadFPR() override;
32
33 bool WriteGPR() override;
34
35 bool WriteFPR() override;
36
37private:
39};
40
41#endif // LLDB_SOURCE_PLUGINS_PROCESS_FREEBSDKERNEL_REGISTERCONTEXTFREEBSDKERNEL_ARM64_H
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
uint64_t addr_t
Definition: lldb-types.h:79
Every register is described in detail including its name, alternate name (optional),...