Home
last modified time | relevance | path

Searched refs:stop_info (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachException.cpp152 struct DNBThreadStopInfo *stop_info) const { in GetStopInfo()
154 memset(stop_info, 0, sizeof(struct DNBThreadStopInfo)); in GetStopInfo()
157 stop_info->reason = eStopTypeInvalid; in GetStopInfo()
162 stop_info->reason = eStopTypeException; in GetStopInfo()
164 stop_info->details.exception.type = exc_type; in GetStopInfo()
168 char *desc = stop_info->description; in GetStopInfo()
177 stop_info->details.exception.data_count = exc_data.size(); in GetStopInfo()
191 (uint64_t)stop_info->details.exception.data_count); in GetStopInfo()
194 desc < end_desc && idx < stop_info->details.exception.data_count; in GetStopInfo()
204 for (i = 0; i < stop_info->details.exception.data_count; i++) in GetStopInfo()
[all …]
H A DMachException.h84 bool GetStopInfo(struct DNBThreadStopInfo *stop_info) const;
H A DMachThreadList.h58 struct DNBThreadStopInfo *stop_info) const;
H A DMachThreadList.cpp89 nub_thread_t tid, struct DNBThreadStopInfo *stop_info) const { in GetThreadStoppedReason()
92 return thread_sp->GetStopException().GetStopInfo(stop_info); in GetThreadStoppedReason()
H A DMachProcess.h288 struct DNBThreadStopInfo *stop_info);
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DNativeThreadLinux.cpp43 void LogThreadStopInfo(Log &log, const ThreadStopInfo &stop_info, in LogThreadStopInfo() argument
45 switch (stop_info.reason) { in LogThreadStopInfo()
51 stop_info.signo); in LogThreadStopInfo()
55 header, stop_info.signo); in LogThreadStopInfo()
59 header, stop_info.signo); in LogThreadStopInfo()
63 stop_info.signo); in LogThreadStopInfo()
67 stop_info.details.exception.type); in LogThreadStopInfo()
71 stop_info.signo); in LogThreadStopInfo()
87 static_cast<uint32_t>(stop_info.reason)); in LogThreadStopInfo()
112 bool NativeThreadLinux::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
[all …]
H A DNativeThreadLinux.h40 bool GetStopReason(ThreadStopInfo &stop_info,
/llvm-project-15.0.7/lldb/source/Plugins/Process/mach-core/
H A DThreadMachCore.cpp110 StopInfoSP stop_info; in CalculateStopInfo() local
132 stop_info = in CalculateStopInfo()
141 if (stop_info) in CalculateStopInfo()
142 SetStopInfo(stop_info); in CalculateStopInfo()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DNativeThreadWindows.cpp113 void NativeThreadWindows::SetStopReason(ThreadStopInfo stop_info, in SetStopReason() argument
116 m_stop_info = stop_info; in SetStopReason()
120 bool NativeThreadWindows::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
130 stop_info = m_stop_info; in GetStopReason()
H A DProcessWindows.cpp374 StopInfoSP stop_info; in RefreshStateAfterStop() local
391 stop_info = StopInfo::CreateStopReasonWithBreakpointSiteID(*stop_thread, in RefreshStateAfterStop()
393 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
412 stop_info = StopInfo::CreateStopReasonWithWatchpointID( in RefreshStateAfterStop()
414 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
420 stop_info = StopInfo::CreateStopReasonToTrace(*stop_thread); in RefreshStateAfterStop()
421 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
467 stop_info = StopInfo::CreateStopReasonWithBreakpointSiteID( in RefreshStateAfterStop()
476 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
499 stop_info = StopInfo::CreateStopReasonWithException( in RefreshStateAfterStop()
[all …]
H A DNativeThreadWindows.h39 bool GetStopReason(ThreadStopInfo &stop_info,
51 void SetStopReason(ThreadStopInfo stop_info, std::string description);
H A DNativeProcessWindows.cpp254 ThreadStopInfo stop_info; in SetStopReasonForThread() local
255 stop_info.reason = reason; in SetStopReasonForThread()
257 stop_info.signo = SIGTRAP; in SetStopReasonForThread()
260 stop_info.details.exception.type = 0; in SetStopReasonForThread()
261 stop_info.details.exception.data_count = 0; in SetStopReasonForThread()
264 thread.SetStopReason(stop_info, description); in SetStopReasonForThread()
/llvm-project-15.0.7/lldb/source/Target/
H A DThreadPlanTracer.cpp80 lldb::StopInfoSP stop_info = GetThread().GetStopInfo(); in TracerExplainsStop() local
81 return (stop_info->GetStopReason() == eStopReasonTrace); in TracerExplainsStop()
H A DThread.cpp690 StopInfo *stop_info = GetPrivateStopInfo().get(); in ShouldResume() local
691 if (stop_info) in ShouldResume()
692 stop_info->WillResume(resume_state); in ShouldResume()
1775 StructuredData::ObjectSP stop_info = m_stop_info_sp->GetExtendedInfo(); in GetDescription() local
1776 if (stop_info) { in GetDescription()
1777 stop_info->Dump(strm); in GetDescription()
/llvm-project-15.0.7/lldb/include/lldb/Host/common/
H A DNativeThreadProtocol.h36 virtual bool GetStopReason(ThreadStopInfo &stop_info,
/llvm-project-15.0.7/lldb/source/Plugins/Process/NetBSD/
H A DNativeThreadNetBSD.h36 bool GetStopReason(ThreadStopInfo &stop_info,
H A DNativeThreadNetBSD.cpp229 bool NativeThreadNetBSD::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
240 stop_info = m_stop_info; in GetStopReason()
/llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/
H A DNativeThreadFreeBSD.h36 bool GetStopReason(ThreadStopInfo &stop_info,
H A DNativeThreadFreeBSD.cpp217 bool NativeThreadFreeBSD::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
228 stop_info = m_stop_info; in GetStopReason()
/llvm-project-15.0.7/lldb/source/Plugins/Process/minidump/
H A DProcessMinidump.cpp328 lldb::StopInfoSP stop_info; in RefreshStateAfterStop() local
343 stop_info = StopInfo::CreateStopReasonWithSignal( in RefreshStateAfterStop()
346 stop_info = StopInfoMachException::CreateStopReasonWithMachException( in RefreshStateAfterStop()
359 stop_info = StopInfo::CreateStopReasonWithException( in RefreshStateAfterStop()
363 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/
H A DStopInfoMachException.cpp579 if (StopInfoSP stop_info = in CreateStopReasonWithMachException() local
582 return stop_info; in CreateStopReasonWithMachException()
/llvm-project-15.0.7/lldb/source/API/
H A DSBThread.cpp290 StopInfoSP stop_info = exe_ctx.GetThreadPtr()->GetStopInfo(); in GetStopReasonExtendedInfoAsJSON() local
291 StructuredData::ObjectSP info = stop_info->GetExtendedInfo(); in GetStopReasonExtendedInfoAsJSON()
314 StopInfoSP stop_info = exe_ctx.GetThreadPtr()->GetStopInfo(); in GetStopReasonExtendedBacktraces() local
315 StructuredData::ObjectSP info = stop_info->GetExtendedInfo(); in GetStopReasonExtendedBacktraces()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DDNB.h195 DNBThreadStopInfo *stop_info);
H A DDNB.cpp1383 struct DNBThreadStopInfo *stop_info) { in DNBThreadGetStopReason() argument
1386 return procSP->GetThreadStoppedReason(tid, stop_info); in DNBThreadGetStopReason()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DCommandInterpreter.cpp2442 StopInfoSP stop_info = thread_sp->GetStopInfo(); in DidProcessStopAbnormally() local
2443 if (!stop_info) in DidProcessStopAbnormally()
2446 const StopReason reason = stop_info->GetStopReason(); in DidProcessStopAbnormally()
2453 const auto stop_signal = static_cast<int32_t>(stop_info->GetValue()); in DidProcessStopAbnormally()

12