]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.h
Merge lldb trunk r366426, resolve conflicts, and update FREEBSD-Xlist.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Plugins / Process / Utility / RegisterInfoPOSIX_ppc64le.h
1 //===-- RegisterInfoPOSIX_ppc64le.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_ppc64le_H_
10 #define liblldb_RegisterContextLinux_ppc64le_H_
11
12 #include "RegisterInfoInterface.h"
13 #include "lldb/Target/RegisterContext.h"
14 #include "lldb/lldb-private.h"
15
16 class RegisterInfoPOSIX_ppc64le : public lldb_private::RegisterInfoInterface {
17 public:
18   RegisterInfoPOSIX_ppc64le(const lldb_private::ArchSpec &target_arch);
19
20   size_t GetGPRSize() const override;
21
22   const lldb_private::RegisterInfo *GetRegisterInfo() const override;
23
24   uint32_t GetRegisterCount() const override;
25
26 private:
27   const lldb_private::RegisterInfo *m_register_info_p;
28   uint32_t m_register_info_count;
29 };
30
31 #endif