1//===-- RegisterContextNetBSD_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_REGISTERCONTEXTNETBSD_X86_64_H
10#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTNETBSD_X86_64_H
11
12#include "RegisterInfoInterface.h"
13
14class RegisterContextNetBSD_x86_64
15 : public lldb_private::RegisterInfoInterface {
16public:
17 RegisterContextNetBSD_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 uint32_t GetUserRegisterCount() const override;
26
27private:
28 const lldb_private::RegisterInfo *m_register_info_p;
29 const uint32_t m_register_count;
30 const uint32_t m_user_register_count;
31};
32
33#endif
34

source code of lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.h