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 LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_X86_H
10 #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_X86_H
12 #include "RegisterInfoInterface.h"
14 namespace lldb_private
{
16 class RegisterContextLinux_x86
: public RegisterInfoInterface
{
18 RegisterContextLinux_x86(const ArchSpec
&target_arch
,
19 RegisterInfo orig_ax_info
)
20 : RegisterInfoInterface(target_arch
), m_orig_ax_info(orig_ax_info
) {}
22 const RegisterInfo
&GetOrigAxInfo() const { return m_orig_ax_info
; }
25 lldb_private::RegisterInfo m_orig_ax_info
;
28 } // namespace lldb_private