]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.h
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / source / Plugins / Process / Utility / RegisterContextNetBSD_x86_64.h
1 //===-- RegisterContextNetBSD_x86_64.h -------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef liblldb_RegisterContextNetBSD_x86_64_H_
11 #define liblldb_RegisterContextNetBSD_x86_64_H_
12
13 #include "RegisterInfoInterface.h"
14
15 class RegisterContextNetBSD_x86_64
16     : public lldb_private::RegisterInfoInterface {
17 public:
18   RegisterContextNetBSD_x86_64(const lldb_private::ArchSpec &target_arch);
19
20   size_t GetGPRSize() const override;
21
22   const lldb_private::RegisterInfo *GetRegisterInfo() const override;
23
24   uint32_t GetRegisterCount() const override;
25
26 private:
27   const lldb_private::RegisterInfo *m_register_info_p;
28   const uint32_t m_register_count;
29 };
30
31 #endif