blob: 7e569dc9ba7844fcb85893100f7ea9b6dcea2fb6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
//===-- RegisterInfoAndSetInterface.h ---------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERINFOANDSETINTERFACE_H
#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERINFOANDSETINTERFACE_H
#include "RegisterInfoInterface.h"
#include "lldb/Utility/ArchSpec.h"
#include "lldb/lldb-private-types.h"
#include <vector>
namespace lldb_private {
class RegisterInfoAndSetInterface : public RegisterInfoInterface {
public:
RegisterInfoAndSetInterface(const lldb_private::ArchSpec &target_arch)
: RegisterInfoInterface(target_arch) {}
virtual size_t GetFPRSize() const = 0;
virtual const lldb_private::RegisterSet *
GetRegisterSet(size_t reg_set) const = 0;
virtual size_t GetRegisterSetCount() const = 0;
virtual size_t GetRegisterSetFromRegisterIndex(uint32_t reg_index) const = 0;
};
} // namespace lldb_private
#endif
|