Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / Process / Utility / RegisterContextLinux_x86_64.h
blobd141ba66b4e2030868f72bde3e5a58ed04b326b0
1 //===-- RegisterContextLinux_x86_64.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_X86_64_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_X86_64_H
12 #include "Plugins/Process/Utility/RegisterContextLinux_x86.h"
14 class RegisterContextLinux_x86_64
15 : public lldb_private::RegisterContextLinux_x86 {
16 public:
17 RegisterContextLinux_x86_64(const lldb_private::ArchSpec &target_arch);
19 static size_t GetGPRSizeStatic();
20 size_t GetGPRSize() const override { return GetGPRSizeStatic(); }
22 const lldb_private::RegisterInfo *GetRegisterInfo() const override;
24 uint32_t GetRegisterCount() const override;
26 uint32_t GetUserRegisterCount() const override;
28 private:
29 const lldb_private::RegisterInfo *m_register_info_p;
30 uint32_t m_register_info_count;
31 uint32_t m_user_register_count;
34 #endif