LLDB  mainline
RegisterContextOpenBSD_x86_64.h
Go to the documentation of this file.
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 
16 public:
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
RegisterInfo interface to patch RegisterInfo structure for archs.
An architecture specification class.
Definition: ArchSpec.h:32
RegisterContextOpenBSD_x86_64(const lldb_private::ArchSpec &target_arch)
const lldb_private::RegisterInfo * GetRegisterInfo() const override