1 //===-- RegisterContextLinux_s390x.h ----------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_RegisterContextLinux_s390x_h_
11 #define liblldb_RegisterContextLinux_s390x_h_
13 #include "RegisterInfoInterface.h"
15 class RegisterContextLinux_s390x : public lldb_private::RegisterInfoInterface {
17 RegisterContextLinux_s390x(const lldb_private::ArchSpec &target_arch);
19 size_t GetGPRSize() const override;
21 const lldb_private::RegisterInfo *GetRegisterInfo() const override;
23 uint32_t GetRegisterCount() const override;
25 uint32_t GetUserRegisterCount() const override;
27 const std::vector<lldb_private::RegisterInfo> *
28 GetDynamicRegisterInfoP() const override;
31 const lldb_private::RegisterInfo *m_register_info_p;
32 uint32_t m_register_info_count;
33 uint32_t m_user_register_count;
34 std::vector<lldb_private::RegisterInfo> d_register_infos;