]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.h
MFV r337195: 9454 ::zfs_blkstats should count embedded blocks
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Plugins / Process / Utility / RegisterContextLinux_mips64.h
1 //===-- RegisterContextLinux_mips64.h ---------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef liblldb_RegisterContextLinux_mips64_H_
11 #define liblldb_RegisterContextLinux_mips64_H_
12
13 #include "RegisterInfoInterface.h"
14 #include "lldb/lldb-private.h"
15
16 class RegisterContextLinux_mips64 : public lldb_private::RegisterInfoInterface {
17 public:
18   RegisterContextLinux_mips64(const lldb_private::ArchSpec &target_arch,
19                               bool msa_present = true);
20
21   size_t GetGPRSize() const override;
22
23   const lldb_private::RegisterInfo *GetRegisterInfo() const override;
24
25   const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
26
27   size_t GetRegisterSetCount() const;
28
29   uint32_t GetRegisterCount() const override;
30
31   uint32_t GetUserRegisterCount() const override;
32
33 private:
34   const lldb_private::RegisterInfo *m_register_info_p;
35   uint32_t m_register_info_count;
36   uint32_t m_user_register_count;
37 };
38
39 #endif
40