1 //===-- NativeRegisterContextRegisterInfo.h ----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef lldb_NativeRegisterContextRegisterInfo_h
11 #define lldb_NativeRegisterContextRegisterInfo_h
15 #include "NativeRegisterContext.h"
16 #include "Plugins/Process/Utility/RegisterInfoInterface.h"
18 namespace lldb_private
20 class NativeRegisterContextRegisterInfo: public NativeRegisterContext
24 /// Construct a NativeRegisterContextRegisterInfo, taking ownership
25 /// of the register_info_interface pointer.
27 NativeRegisterContextRegisterInfo (NativeThreadProtocol &thread,
28 uint32_t concrete_frame_idx,
29 RegisterInfoInterface *register_info_interface);
32 GetRegisterCount () const override;
35 GetRegisterInfoAtIndex (uint32_t reg_index) const override;
37 const RegisterInfoInterface&
38 GetRegisterInfoInterface () const;
41 std::unique_ptr<RegisterInfoInterface> m_register_info_interface_up;