]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - source/Plugins/Process/Windows/MiniDump/x86/RegisterContextWindowsMiniDump_x86.h
Vendor import of lldb release_39 branch r287912:
[FreeBSD/FreeBSD.git] / source / Plugins / Process / Windows / MiniDump / x86 / RegisterContextWindowsMiniDump_x86.h
1 //===-- RegisterContextWindowsMiniDump_x86.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_RegisterContextWindowsMiniDump_x86_H_
11 #define liblldb_RegisterContextWindowsMiniDump_x86_H_
12
13 #include "lldb/lldb-forward.h"
14 #include "Plugins/Process/Windows/Common/x86/RegisterContextWindows_x86.h"
15
16 namespace lldb_private
17 {
18
19 class Thread;
20
21 class RegisterContextWindowsMiniDump_x86 : public RegisterContextWindows_x86
22 {
23   public:
24     RegisterContextWindowsMiniDump_x86(Thread &thread, uint32_t concrete_frame_idx, const CONTEXT *context);
25
26     virtual ~RegisterContextWindowsMiniDump_x86();
27
28     bool WriteRegister(const RegisterInfo *reg_info, const RegisterValue &reg_value) override;
29
30   protected:
31     bool CacheAllRegisterValues() override;
32 };
33
34 }
35
36 #endif // #ifndef liblldb_RegisterContextWindowsMiniDump_x86_H_