Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / Process / Utility / RegisterContextMach_arm.h
blobfedd0062c99c7de0e092310d83b4627f2c656f2e
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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_ARM_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_ARM_H
12 #include "RegisterContextDarwin_arm.h"
14 class RegisterContextMach_arm : public RegisterContextDarwin_arm {
15 public:
16 RegisterContextMach_arm(lldb_private::Thread &thread,
17 uint32_t concrete_frame_idx);
19 ~RegisterContextMach_arm() override;
21 protected:
22 int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) override;
24 int DoReadFPU(lldb::tid_t tid, int flavor, FPU &fpu) override;
26 int DoReadEXC(lldb::tid_t tid, int flavor, EXC &exc) override;
28 int DoReadDBG(lldb::tid_t tid, int flavor, DBG &dbg) override;
30 int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) override;
32 int DoWriteFPU(lldb::tid_t tid, int flavor, const FPU &fpu) override;
34 int DoWriteEXC(lldb::tid_t tid, int flavor, const EXC &exc) override;
36 int DoWriteDBG(lldb::tid_t tid, int flavor, const DBG &dbg) override;
39 #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTMACH_ARM_H