LLDB  mainline
RegisterContextLinux_i386.h
Go to the documentation of this file.
1 //===-- RegisterContextLinux_i386.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_i386_H_
10 #define liblldb_RegisterContextLinux_i386_H_
11 
12 #include "RegisterInfoInterface.h"
13 
15 public:
17 
18  size_t GetGPRSize() const override;
19 
20  const lldb_private::RegisterInfo *GetRegisterInfo() const override;
21 
22  uint32_t GetRegisterCount() const override;
23 
24  uint32_t GetUserRegisterCount() const override;
25 
26  const std::vector<lldb_private::RegisterInfo> *
27  GetDynamicRegisterInfoP() const override;
28 
29 private:
30  std::vector<lldb_private::RegisterInfo> d_register_infos;
31 };
32 
33 #endif
const lldb_private::RegisterInfo * GetRegisterInfo() const override
RegisterInfo interface to patch RegisterInfo structure for archs.
uint32_t GetUserRegisterCount() const override
An architecture specification class.
Definition: ArchSpec.h:32
const std::vector< lldb_private::RegisterInfo > * GetDynamicRegisterInfoP() const override
uint32_t GetRegisterCount() const override
RegisterContextLinux_i386(const lldb_private::ArchSpec &target_arch)