LLDB  mainline
RegisterInfoAndSetInterface.h
Go to the documentation of this file.
1 //===-- RegisterInfoAndSetInterface.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_REGISTERINFOANDSETINTERFACE_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERINFOANDSETINTERFACE_H
11 
12 #include "RegisterInfoInterface.h"
13 
14 #include "lldb/Utility/ArchSpec.h"
16 #include <vector>
17 
18 namespace lldb_private {
19 
21 public:
23  : RegisterInfoInterface(target_arch) {}
24 
25  virtual size_t GetFPRSize() const = 0;
26 
27  virtual const lldb_private::RegisterSet *
28  GetRegisterSet(size_t reg_set) const = 0;
29 
30  virtual size_t GetRegisterSetCount() const = 0;
31 
32  virtual size_t GetRegisterSetFromRegisterIndex(uint32_t reg_index) const = 0;
33 };
34 } // namespace lldb_private
35 
36 #endif
lldb-private-types.h
lldb_private::ArchSpec
Definition: ArchSpec.h:33
lldb_private::RegisterInfoAndSetInterface::GetFPRSize
virtual size_t GetFPRSize() const =0
lldb_private::RegisterInfoInterface
Definition: RegisterInfoInterface.h:21
RegisterInfoInterface.h
lldb_private::RegisterInfoAndSetInterface
Definition: RegisterInfoAndSetInterface.h:20
uint32_t
lldb_private::RegisterInfoAndSetInterface::RegisterInfoAndSetInterface
RegisterInfoAndSetInterface(const lldb_private::ArchSpec &target_arch)
Definition: RegisterInfoAndSetInterface.h:22
lldb_private::RegisterInfoAndSetInterface::GetRegisterSet
virtual const lldb_private::RegisterSet * GetRegisterSet(size_t reg_set) const =0
lldb_private::RegisterInfoAndSetInterface::GetRegisterSetFromRegisterIndex
virtual size_t GetRegisterSetFromRegisterIndex(uint32_t reg_index) const =0
ArchSpec.h
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::RegisterInfoAndSetInterface::GetRegisterSetCount
virtual size_t GetRegisterSetCount() const =0