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