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