1 //===-- TargetThreadWindowsLive.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 liblldb_Plugins_Process_Windows_TargetThreadWindowsLive_H_
11 #define liblldb_Plugins_Process_Windows_TargetThreadWindowsLive_H_
13 #include "lldb/lldb-forward.h"
14 #include "lldb/Host/HostThread.h"
15 #include "lldb/Target/Thread.h"
17 #include "Plugins/Process/Windows/Common/TargetThreadWindows.h"
19 namespace lldb_private
25 class TargetThreadWindowsLive : public lldb_private::TargetThreadWindows
28 TargetThreadWindowsLive(ProcessWindows &process, const HostThread &thread);
29 virtual ~TargetThreadWindowsLive();
31 // lldb_private::Thread overrides
32 void RefreshStateAfterStop() override;
33 void WillResume(lldb::StateType resume_state) override;
34 void DidStop() override;
35 lldb::RegisterContextSP GetRegisterContext() override;
36 lldb::RegisterContextSP CreateRegisterContextForFrame(StackFrame *frame) override;
37 bool CalculateStopInfo() override;
38 Unwind *GetUnwinder() override;
49 lldb::RegisterContextSP CreateRegisterContextForFrameIndex(uint32_t idx);
51 HostThread m_host_thread;