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