1 //===-- POSIXStopInfo.cpp ---------------------------------------*- 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 #include "POSIXStopInfo.h"
11 
12 using namespace lldb;
13 using namespace lldb_private;
14 
15 //===----------------------------------------------------------------------===//
16 // POSIXLimboStopInfo
17 
18 POSIXLimboStopInfo::~POSIXLimboStopInfo() {}
19 
20 lldb::StopReason POSIXLimboStopInfo::GetStopReason() const {
21   return lldb::eStopReasonThreadExiting;
22 }
23 
24 const char *POSIXLimboStopInfo::GetDescription() { return "thread exiting"; }
25 
26 bool POSIXLimboStopInfo::ShouldStop(Event *event_ptr) { return false; }
27 
28 bool POSIXLimboStopInfo::ShouldNotify(Event *event_ptr) { return false; }
29 
30 //===----------------------------------------------------------------------===//
31 // POSIXNewThreadStopInfo
32 
33 POSIXNewThreadStopInfo::~POSIXNewThreadStopInfo() {}
34 
35 lldb::StopReason POSIXNewThreadStopInfo::GetStopReason() const {
36   return lldb::eStopReasonNone;
37 }
38 
39 const char *POSIXNewThreadStopInfo::GetDescription() {
40   return "thread spawned";
41 }
42 
43 bool POSIXNewThreadStopInfo::ShouldStop(Event *event_ptr) { return false; }
44 
45 bool POSIXNewThreadStopInfo::ShouldNotify(Event *event_ptr) { return false; }
46