Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / source / Plugins / Process / Utility / RegisterContextLinux_x86.h
blob0e1863864aa6c536f847553a0e30b45e94cceda1
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-exception
6 //
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 {
17 public:
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; }
24 private:
25 lldb_private::RegisterInfo m_orig_ax_info;
28 } // namespace lldb_private
30 #endif