| 1 | //===-- RegisterContextFreeBSD_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 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTFREEBSD_X86_64_H |
| 10 | #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTFREEBSD_X86_64_H |
| 11 | |
| 12 | #include "RegisterInfoInterface.h" |
| 13 | |
| 14 | class RegisterContextFreeBSD_x86_64 |
| 15 | : public lldb_private::RegisterInfoInterface { |
| 16 | public: |
| 17 | RegisterContextFreeBSD_x86_64(const lldb_private::ArchSpec &target_arch); |
| 18 | |
| 19 | size_t GetGPRSize() const override; |
| 20 | |
| 21 | const lldb_private::RegisterInfo *GetRegisterInfo() const override; |
| 22 | |
| 23 | uint32_t GetRegisterCount() const override; |
| 24 | |
| 25 | private: |
| 26 | const lldb_private::RegisterInfo *m_register_info_p; |
| 27 | const uint32_t m_register_count; |
| 28 | }; |
| 29 | |
| 30 | #endif |
| 31 | |