LLDB mainline
TargetThreadWindows.h
Go to the documentation of this file.
1//===-- TargetThreadWindows.h -----------------------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef liblldb_Plugins_Process_Windows_TargetThreadWindows_H_
10#define liblldb_Plugins_Process_Windows_TargetThreadWindows_H_
11
12//#include "ForwardDecl.h"
14#include "lldb/Target/Thread.h"
15#include "lldb/lldb-forward.h"
16
18
19namespace lldb_private {
20class ProcessWindows;
21class HostThread;
22class StackFrame;
23
25public:
26 TargetThreadWindows(ProcessWindows &process, const HostThread &thread);
27 virtual ~TargetThreadWindows();
28
29 // lldb_private::Thread overrides
30 void RefreshStateAfterStop() override;
31 void WillResume(lldb::StateType resume_state) override;
32 void DidStop() override;
36 bool CalculateStopInfo() override;
37 const char *GetName() override;
38
40
42
43private:
46 std::string m_name;
47};
48} // namespace lldb_private
49
50#endif
This base class provides an interface to stack frames.
Definition: StackFrame.h:43
An error handling class.
Definition: Status.h:44
bool CalculateStopInfo() override
Ask the thread subclass to set its stop info.
lldb::RegisterContextSP GetRegisterContext() override
lldb::RegisterContextSP CreateRegisterContextForFrame(StackFrame *frame) override
void WillResume(lldb::StateType resume_state) override
lldb::RegisterContextSP m_thread_reg_ctx_sp
A class that represents a running process on the host machine.
StateType
Process and Thread States.
std::shared_ptr< lldb_private::RegisterContext > RegisterContextSP
Definition: lldb-forward.h:392