]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextOpenBSD_x86_64.h
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Plugins / Process / Utility / RegisterContextOpenBSD_x86_64.h
1 //===-- RegisterContextOpenBSD_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 liblldb_RegisterContextOpenBSD_x86_64_H_
10 #define liblldb_RegisterContextOpenBSD_x86_64_H_
11
12 #include "RegisterInfoInterface.h"
13
14 class RegisterContextOpenBSD_x86_64
15     : public lldb_private::RegisterInfoInterface {
16 public:
17   RegisterContextOpenBSD_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