LLDB  mainline
RegisterContextLinux_mips.h
Go to the documentation of this file.
1 //===-- RegisterContextLinux_mips.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_RegisterContextLinux_mips_H_
10 #define liblldb_RegisterContextLinux_mips_H_
11 
12 #include "RegisterInfoInterface.h"
13 #include "lldb/lldb-private.h"
14 
16 public:
18  bool msa_present = true);
19 
20  size_t GetGPRSize() const override;
21 
22  const lldb_private::RegisterInfo *GetRegisterInfo() const override;
23 
24  const lldb_private::RegisterSet *GetRegisterSet(size_t set) const;
25 
26  size_t GetRegisterSetCount() const;
27 
28  uint32_t GetRegisterCount() const override;
29 
30  uint32_t GetUserRegisterCount() const override;
31 
32 private:
33  uint32_t m_user_register_count;
34 };
35 
36 #endif
RegisterInfo interface to patch RegisterInfo structure for archs.
An architecture specification class.
Definition: ArchSpec.h:32
RegisterContextLinux_mips(const lldb_private::ArchSpec &target_arch, bool msa_present=true)
const lldb_private::RegisterInfo * GetRegisterInfo() const override
uint32_t GetRegisterCount() const override
const lldb_private::RegisterSet * GetRegisterSet(size_t set) const
uint32_t GetUserRegisterCount() const override