blob: e0f8114fa58f0ecc333f612d45b77c6135b30dc6 [file] [log] [blame]
//===-- RegisterContextLinux_i386.h -----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_I386_H
#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_I386_H
#include "RegisterInfoInterface.h"
class RegisterContextLinux_i386 : public lldb_private::RegisterInfoInterface {
public:
RegisterContextLinux_i386(const lldb_private::ArchSpec &target_arch);
static size_t GetGPRSizeStatic();
size_t GetGPRSize() const override { return GetGPRSizeStatic(); }
const lldb_private::RegisterInfo *GetRegisterInfo() const override;
uint32_t GetRegisterCount() const override;
uint32_t GetUserRegisterCount() const override;
const std::vector<lldb_private::RegisterInfo> *
GetDynamicRegisterInfoP() const override;
private:
std::vector<lldb_private::RegisterInfo> d_register_infos;
};
#endif