RegisterContextLinux_x86_64.h revision c73fedb63ab170d711fb73d198451eb8db710e8d
1//===-- RegisterContextLinux_x86_64.h ---------------------------*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef liblldb_RegisterContextLinux_x86_64_H_
11#define liblldb_RegisterContextLinux_x86_64_H_
12
13#include "Plugins/Process/POSIX/RegisterContext_x86_64.h"
14
15class RegisterContextLinux_x86_64:
16    public RegisterContext_x86_64
17{
18public:
19    RegisterContextLinux_x86_64(lldb_private::Thread &thread, uint32_t concrete_frame_idx);
20    virtual ~RegisterContextLinux_x86_64();
21
22    size_t
23    GetGPRSize();
24
25protected:
26    virtual const lldb_private::RegisterInfo *
27    GetRegisterInfo();
28
29    virtual void
30    UpdateRegisterInfo();
31
32private:
33    static lldb_private::RegisterInfo *m_register_infos;
34};
35
36#endif
37