1 //===-- TargetThreadWindows.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_Plugins_Process_Windows_TargetThreadWindows_H_ 11 #define liblldb_Plugins_Process_Windows_TargetThreadWindows_H_ 12 13 //#include "ForwardDecl.h" 14 #include "lldb/Host/HostThread.h" 15 #include "lldb/Target/Thread.h" 16 #include "lldb/lldb-forward.h" 17 18 namespace lldb_private { 19 class ProcessWindows; 20 class HostThread; 21 class StackFrame; 22 23 class TargetThreadWindows : public lldb_private::Thread { 24 public: 25 TargetThreadWindows(ProcessWindows &process, const HostThread &thread); 26 virtual ~TargetThreadWindows(); 27 28 // lldb_private::Thread overrides 29 void RefreshStateAfterStop() override; 30 void WillResume(lldb::StateType resume_state) override; 31 void DidStop() override; 32 bool CalculateStopInfo() override; 33 Unwind *GetUnwinder() override; 34 35 bool DoResume(); 36 37 HostThread GetHostThread() const { return m_host_thread; } 38 39 private: 40 HostThread m_host_thread; 41 }; 42 } 43 44 #endif 45