10b57cec5SDimitry Andric //===-- RegisterContextLinux_x86_64.h ---------------------------*- C++ -*-===// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric 95ffd83dbSDimitry Andric #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_X86_64_H 105ffd83dbSDimitry Andric #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_X86_64_H 110b57cec5SDimitry Andric 1206c3fb27SDimitry Andric #include "Plugins/Process/Utility/RegisterContextLinux_x86.h" 130b57cec5SDimitry Andric 1406c3fb27SDimitry Andric class RegisterContextLinux_x86_64 1506c3fb27SDimitry Andric : public lldb_private::RegisterContextLinux_x86 { 160b57cec5SDimitry Andric public: 170b57cec5SDimitry Andric RegisterContextLinux_x86_64(const lldb_private::ArchSpec &target_arch); 180b57cec5SDimitry Andric 19bdd1243dSDimitry Andric static size_t GetGPRSizeStatic(); GetGPRSize()20bdd1243dSDimitry Andric size_t GetGPRSize() const override { return GetGPRSizeStatic(); } 210b57cec5SDimitry Andric 220b57cec5SDimitry Andric const lldb_private::RegisterInfo *GetRegisterInfo() const override; 230b57cec5SDimitry Andric 240b57cec5SDimitry Andric uint32_t GetRegisterCount() const override; 250b57cec5SDimitry Andric 260b57cec5SDimitry Andric uint32_t GetUserRegisterCount() const override; 270b57cec5SDimitry Andric 280b57cec5SDimitry Andric private: 290b57cec5SDimitry Andric const lldb_private::RegisterInfo *m_register_info_p; 300b57cec5SDimitry Andric uint32_t m_register_info_count; 310b57cec5SDimitry Andric uint32_t m_user_register_count; 320b57cec5SDimitry Andric }; 330b57cec5SDimitry Andric 340b57cec5SDimitry Andric #endif 35