LLDB  mainline
POSIXStopInfo.cpp
Go to the documentation of this file.
1 //===-- POSIXStopInfo.cpp -------------------------------------------------===//
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 #include "POSIXStopInfo.h"
10 
11 using namespace lldb;
12 using namespace lldb_private;
13 
14 //===----------------------------------------------------------------------===//
15 // POSIXLimboStopInfo
16 
18 
21 }
22 
23 const char *POSIXLimboStopInfo::GetDescription() { return "thread exiting"; }
24 
25 bool POSIXLimboStopInfo::ShouldStop(Event *event_ptr) { return false; }
26 
27 bool POSIXLimboStopInfo::ShouldNotify(Event *event_ptr) { return false; }
28 
29 //===----------------------------------------------------------------------===//
30 // POSIXNewThreadStopInfo
31 
33 
35  return lldb::eStopReasonNone;
36 }
37 
39  return "thread spawned";
40 }
41 
42 bool POSIXNewThreadStopInfo::ShouldStop(Event *event_ptr) { return false; }
43 
44 bool POSIXNewThreadStopInfo::ShouldNotify(Event *event_ptr) { return false; }
bool ShouldNotify(lldb_private::Event *event_ptr) override
const char * GetDescription() override
bool ShouldStop(lldb_private::Event *event_ptr) override
lldb::StopReason GetStopReason() const override
bool ShouldNotify(lldb_private::Event *event_ptr) override
lldb::StopReason GetStopReason() const override
bool ShouldStop(lldb_private::Event *event_ptr) override
const char * GetDescription() override
A class that represents a running process on the host machine.
Definition: SBAddress.h:15
StopReason
Thread stop reasons.
@ eStopReasonThreadExiting