brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1000 B · 0e18638 Raw
31 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_X86_H10#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_REGISTERCONTEXTLINUX_X86_H11 12#include "RegisterInfoInterface.h"13 14namespace lldb_private {15 16class RegisterContextLinux_x86 : public RegisterInfoInterface {17public:18  RegisterContextLinux_x86(const ArchSpec &target_arch,19                           RegisterInfo orig_ax_info)20      : RegisterInfoInterface(target_arch), m_orig_ax_info(orig_ax_info) {}21 22  const RegisterInfo &GetOrigAxInfo() const { return m_orig_ax_info; }23 24private:25  lldb_private::RegisterInfo m_orig_ax_info;26};27 28} // namespace lldb_private29 30#endif31