LLDB  mainline
RegisterContextMacOSXFrameBackchain.h
Go to the documentation of this file.
1 //===-- RegisterContextMacOSXFrameBackchain.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_RegisterContextMacOSXFrameBackchain_h_
10 #define lldb_RegisterContextMacOSXFrameBackchain_h_
11 
13 #include "lldb/lldb-private.h"
14 
16 
19 public:
21  lldb_private::Thread &thread, uint32_t concrete_frame_idx,
23 
25 
26  void InvalidateAllRegisters() override;
27 
28  size_t GetRegisterCount() override;
29 
30  const lldb_private::RegisterInfo *GetRegisterInfoAtIndex(size_t reg) override;
31 
32  size_t GetRegisterSetCount() override;
33 
34  const lldb_private::RegisterSet *GetRegisterSet(size_t reg_set) override;
35 
36  bool ReadRegister(const lldb_private::RegisterInfo *reg_info,
37  lldb_private::RegisterValue &value) override;
38 
39  bool WriteRegister(const lldb_private::RegisterInfo *reg_info,
40  const lldb_private::RegisterValue &value) override;
41 
42  bool ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override;
43 
44  bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override;
45 
47  uint32_t num) override;
48 
49 private:
51  bool m_cursor_is_valid;
52 
53  DISALLOW_COPY_AND_ASSIGN(RegisterContextMacOSXFrameBackchain);
54 };
55 
56 #endif // lldb_RegisterContextMacOSXFrameBackchain_h_
const lldb_private::RegisterSet * GetRegisterSet(size_t reg_set) override
bool WriteRegister(const lldb_private::RegisterInfo *reg_info, const lldb_private::RegisterValue &value) override
const lldb_private::RegisterInfo * GetRegisterInfoAtIndex(size_t reg) override
bool ReadRegister(const lldb_private::RegisterInfo *reg_info, lldb_private::RegisterValue &value) override
bool ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override
RegisterContextMacOSXFrameBackchain(lldb_private::Thread &thread, uint32_t concrete_frame_idx, const UnwindMacOSXFrameBackchain::Cursor &cursor)
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override
uint32_t ConvertRegisterKindToRegisterNumber(lldb::RegisterKind kind, uint32_t num) override
Convert from a given register numbering scheme to the lldb register numbering scheme.