]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Plugins/Process/Utility/RegisterContextLinux_i386.h
MFV r349454:
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Plugins / Process / Utility / RegisterContextLinux_i386.h
1 //===-- RegisterContextLinux_i386.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_i386_H_
11 #define liblldb_RegisterContextLinux_i386_H_
12
13 #include "RegisterInfoInterface.h"
14
15 class RegisterContextLinux_i386 : public lldb_private::RegisterInfoInterface {
16 public:
17   RegisterContextLinux_i386(const lldb_private::ArchSpec &target_arch);
18
19   size_t GetGPRSize() const override;
20
21   const lldb_private::RegisterInfo *GetRegisterInfo() const override;
22
23   uint32_t GetRegisterCount() const override;
24
25   uint32_t GetUserRegisterCount() const override;
26
27   const std::vector<lldb_private::RegisterInfo> *
28   GetDynamicRegisterInfoP() const override;
29
30 private:
31   std::vector<lldb_private::RegisterInfo> d_register_infos;
32 };
33
34 #endif