Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / Process / Utility / RegisterContextLinux_s390x.h
blob6bfe34de7acf199862634d1295614e5e99a6f5ec
1 //===-- RegisterContextLinux_s390x.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_REGISTERCONTEXTLINUX_S390X_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_S390X_H
12 #include "RegisterInfoInterface.h"
14 class RegisterContextLinux_s390x : public lldb_private::RegisterInfoInterface {
15 public:
16 RegisterContextLinux_s390x(const lldb_private::ArchSpec &target_arch);
18 size_t GetGPRSize() const override;
20 const lldb_private::RegisterInfo *GetRegisterInfo() const override;
22 uint32_t GetRegisterCount() const override;
24 uint32_t GetUserRegisterCount() const override;
26 private:
27 const lldb_private::RegisterInfo *m_register_info_p;
28 uint32_t m_register_info_count;
29 uint32_t m_user_register_count;
32 #endif