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