1 //===-- RegisterInfoPOSIX_arm.h ---------------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef liblldb_RegisterInfoPOSIX_arm_h_
10 #define liblldb_RegisterInfoPOSIX_arm_h_
12 #include "RegisterInfoInterface.h"
13 #include "lldb/Target/RegisterContext.h"
14 #include "lldb/lldb-private.h"
16 class RegisterInfoPOSIX_arm : public lldb_private::RegisterInfoInterface {
19 uint32_t r[16]; // R0-R15
20 uint32_t cpsr; // CPSR
31 QReg q[16]; // the 128-bit NEON registers
37 uint32_t fsr; /* Fault status */
38 uint32_t far; /* Virtual Fault Address */
48 RegisterInfoPOSIX_arm(const lldb_private::ArchSpec &target_arch);
50 size_t GetGPRSize() const override;
52 const lldb_private::RegisterInfo *GetRegisterInfo() const override;
54 uint32_t GetRegisterCount() const override;
57 const lldb_private::RegisterInfo *m_register_info_p;
58 uint32_t m_register_info_count;
61 #endif // liblldb_RegisterInfoPOSIX_arm_h_