30 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_I386_H10#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_I386_H11 12#include "Plugins/Process/Utility/RegisterContextLinux_x86.h"13 14class RegisterContextLinux_i38615 : public lldb_private::RegisterContextLinux_x86 {16public:17 RegisterContextLinux_i386(const lldb_private::ArchSpec &target_arch);18 19 static size_t GetGPRSizeStatic();20 size_t GetGPRSize() const override { return GetGPRSizeStatic(); }21 22 const lldb_private::RegisterInfo *GetRegisterInfo() const override;23 24 uint32_t GetRegisterCount() const override;25 26 uint32_t GetUserRegisterCount() const override;27};28 29#endif30