LLDB  mainline
RegisterContextMach_arm.h
Go to the documentation of this file.
1 //===-- RegisterContextMach_arm.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_UTILITY_REGISTERCONTEXTMACH_ARM_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_ARM_H
11 
13 
15 public:
17  uint32_t concrete_frame_idx);
18 
19  virtual ~RegisterContextMach_arm();
20 
21 protected:
22  int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override;
23 
24  int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override;
25 
26  int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override;
27 
28  int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override;
29 
30  int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override;
31 
32  int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override;
33 
34  int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override;
35 
36  int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override;
37 };
38 
39 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_ARM_H
RegisterContextMach_arm::DoReadGPR
int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override
RegisterContextDarwin_arm::dbg
DBG dbg
Definition: RegisterContextDarwin_arm.h:158
RegisterContextDarwin_arm::EXC
Definition: RegisterContextDarwin_arm.h:122
RegisterContextDarwin_arm::exc
EXC exc
Definition: RegisterContextDarwin_arm.h:157
RegisterContextMach_arm::DoReadFPU
int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override
RegisterContextMach_arm::~RegisterContextMach_arm
virtual ~RegisterContextMach_arm()
RegisterContextMach_arm::DoWriteEXC
int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override
RegisterContextMach_arm::DoReadDBG
int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override
RegisterContextDarwin_arm.h
lldb_private::Thread
Definition: Thread.h:62
RegisterContextDarwin_arm::fpu
FPU fpu
Definition: RegisterContextDarwin_arm.h:156
RegisterContextDarwin_arm::DBG
Definition: RegisterContextDarwin_arm.h:128
RegisterContextMach_arm::DoWriteFPU
int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override
RegisterContextDarwin_arm::GPR
Definition: RegisterContextDarwin_arm.h:89
uint32_t
RegisterContextMach_arm::DoReadEXC
int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override
RegisterContextMach_arm::DoWriteGPR
int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override
RegisterContextMach_arm
Definition: RegisterContextMach_arm.h:14
RegisterContextDarwin_arm::FPU
Definition: RegisterContextDarwin_arm.h:98
RegisterContextMach_arm::RegisterContextMach_arm
RegisterContextMach_arm(lldb_private::Thread &thread, uint32_t concrete_frame_idx)
RegisterContextDarwin_arm::gpr
GPR gpr
Definition: RegisterContextDarwin_arm.h:155
RegisterContextDarwin_arm
Definition: RegisterContextDarwin_arm.h:46
RegisterContextMach_arm::DoWriteDBG
int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override
lldb::tid_t
uint64_t tid_t
Definition: lldb-types.h:86