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 
~POSIXLimboStopInfo()17 POSIXLimboStopInfo::~POSIXLimboStopInfo() {}
18 
GetStopReason() const19 lldb::StopReason POSIXLimboStopInfo::GetStopReason() const {
20   return lldb::eStopReasonThreadExiting;
21 }
22 
GetDescription()23 const char *POSIXLimboStopInfo::GetDescription() { return "thread exiting"; }
24 
ShouldStop(Event * event_ptr)25 bool POSIXLimboStopInfo::ShouldStop(Event *event_ptr) { return false; }
26 
ShouldNotify(Event * event_ptr)27 bool POSIXLimboStopInfo::ShouldNotify(Event *event_ptr) { return false; }
28 
29 //===----------------------------------------------------------------------===//
30 // POSIXNewThreadStopInfo
31 
~POSIXNewThreadStopInfo()32 POSIXNewThreadStopInfo::~POSIXNewThreadStopInfo() {}
33 
GetStopReason() const34 lldb::StopReason POSIXNewThreadStopInfo::GetStopReason() const {
35   return lldb::eStopReasonNone;
36 }
37 
GetDescription()38 const char *POSIXNewThreadStopInfo::GetDescription() {
39   return "thread spawned";
40 }
41 
ShouldStop(Event * event_ptr)42 bool POSIXNewThreadStopInfo::ShouldStop(Event *event_ptr) { return false; }
43 
ShouldNotify(Event * event_ptr)44 bool POSIXNewThreadStopInfo::ShouldNotify(Event *event_ptr) { return false; }
45