1 //===-- RegisterContextLinux_i386.h -----------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #ifndef liblldb_RegisterContextLinux_i386_H_
10 #define liblldb_RegisterContextLinux_i386_H_
12 #include "RegisterInfoInterface.h"
14 class RegisterContextLinux_i386 : public lldb_private::RegisterInfoInterface {
16 RegisterContextLinux_i386(const lldb_private::ArchSpec &target_arch);
18 size_t GetGPRSize() const override;
20 const lldb_private::RegisterInfo *GetRegisterInfo() const override;
22 uint32_t GetRegisterCount() const override;
24 uint32_t GetUserRegisterCount() const override;
26 const std::vector<lldb_private::RegisterInfo> *
27 GetDynamicRegisterInfoP() const override;
30 std::vector<lldb_private::RegisterInfo> d_register_infos;