LLDB  mainline
RegisterContextLinux_x86_64.h
Go to the documentation of this file.
1 //===-- RegisterContextLinux_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_REGISTERCONTEXTLINUX_X86_64_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_X86_64_H
11 
12 #include "RegisterInfoInterface.h"
13 
15 public:
17 
18  size_t GetGPRSize() const override;
19 
20  const lldb_private::RegisterInfo *GetRegisterInfo() const override;
21 
22  uint32_t GetRegisterCount() const override;
23 
24  uint32_t GetUserRegisterCount() const override;
25 
26  const std::vector<lldb_private::RegisterInfo> *
27  GetDynamicRegisterInfoP() const override;
28 
29 private:
30  const lldb_private::RegisterInfo *m_register_info_p;
33  std::vector<lldb_private::RegisterInfo> d_register_infos;
34 };
35 
36 #endif
RegisterContextLinux_x86_64::GetUserRegisterCount
uint32_t GetUserRegisterCount() const override
Definition: RegisterContextLinux_x86_64.cpp:190
lldb_private::ArchSpec
Definition: ArchSpec.h:33
RegisterContextLinux_x86_64
Definition: RegisterContextLinux_x86_64.h:14
RegisterContextLinux_x86_64::m_register_info_p
const lldb_private::RegisterInfo * m_register_info_p
Definition: RegisterContextLinux_x86_64.h:30
RegisterContextLinux_x86_64::GetRegisterInfo
const lldb_private::RegisterInfo * GetRegisterInfo() const override
Definition: RegisterContextLinux_x86_64.cpp:182
lldb_private::RegisterInfoInterface
Definition: RegisterInfoInterface.h:21
RegisterContextLinux_x86_64::GetDynamicRegisterInfoP
const std::vector< lldb_private::RegisterInfo > * GetDynamicRegisterInfoP() const override
Definition: RegisterContextLinux_x86_64.cpp:178
RegisterContextLinux_x86_64::d_register_infos
std::vector< lldb_private::RegisterInfo > d_register_infos
Definition: RegisterContextLinux_x86_64.h:33
RegisterInfoInterface.h
RegisterContextLinux_x86_64::RegisterContextLinux_x86_64
RegisterContextLinux_x86_64(const lldb_private::ArchSpec &target_arch)
Definition: RegisterContextLinux_x86_64.cpp:153
RegisterContextLinux_x86_64::GetRegisterCount
uint32_t GetRegisterCount() const override
Definition: RegisterContextLinux_x86_64.cpp:186
uint32_t
RegisterContextLinux_x86_64::m_user_register_count
uint32_t m_user_register_count
Definition: RegisterContextLinux_x86_64.h:32
RegisterContextLinux_x86_64::m_register_info_count
uint32_t m_register_info_count
Definition: RegisterContextLinux_x86_64.h:31
RegisterContextLinux_x86_64::GetGPRSize
size_t GetGPRSize() const override
Definition: RegisterContextLinux_x86_64.cpp:175