opnsense-src/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/POSIXStopInfo.cpp
Dimitry Andric 5ffd83dbcc Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
master 2e10b7a39b9, the last commit before the llvmorg-12-init tag, from
which release/11.x was branched.

Note that for now, I rolled back all our local changes to make merging
easier, and I will reapply the still-relevant ones after updating to
11.0.0-rc1.
2020-07-31 21:22:58 +00:00

44 lines
1.4 KiB
C++

//===-- POSIXStopInfo.cpp -------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include "POSIXStopInfo.h"
using namespace lldb;
using namespace lldb_private;
//===----------------------------------------------------------------------===//
// POSIXLimboStopInfo
POSIXLimboStopInfo::~POSIXLimboStopInfo() {}
lldb::StopReason POSIXLimboStopInfo::GetStopReason() const {
return lldb::eStopReasonThreadExiting;
}
const char *POSIXLimboStopInfo::GetDescription() { return "thread exiting"; }
bool POSIXLimboStopInfo::ShouldStop(Event *event_ptr) { return false; }
bool POSIXLimboStopInfo::ShouldNotify(Event *event_ptr) { return false; }
//===----------------------------------------------------------------------===//
// POSIXNewThreadStopInfo
POSIXNewThreadStopInfo::~POSIXNewThreadStopInfo() {}
lldb::StopReason POSIXNewThreadStopInfo::GetStopReason() const {
return lldb::eStopReasonNone;
}
const char *POSIXNewThreadStopInfo::GetDescription() {
return "thread spawned";
}
bool POSIXNewThreadStopInfo::ShouldStop(Event *event_ptr) { return false; }
bool POSIXNewThreadStopInfo::ShouldNotify(Event *event_ptr) { return false; }