Home
last modified time | relevance | path

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

12

/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeThreadLinux.cpp41 void LogThreadStopInfo(Log &log, const ThreadStopInfo &stop_info, in LogThreadStopInfo() argument
43 switch (stop_info.reason) { in LogThreadStopInfo()
49 stop_info.details.signal.signo); in LogThreadStopInfo()
53 header, stop_info.details.signal.signo); in LogThreadStopInfo()
57 header, stop_info.details.signal.signo); in LogThreadStopInfo()
61 stop_info.details.signal.signo); in LogThreadStopInfo()
65 stop_info.details.exception.type); in LogThreadStopInfo()
69 stop_info.details.signal.signo); in LogThreadStopInfo()
82 static_cast<uint32_t>(stop_info.reason)); in LogThreadStopInfo()
107 bool NativeThreadLinux::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
[all …]
DNativeThreadLinux.h38 bool GetStopReason(ThreadStopInfo &stop_info,
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
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()
198 ((idx + 1 == stop_info->details.exception.data_count) ? '}' : ',')); in GetStopInfo()
[all …]
DMachException.h84 bool GetStopInfo(struct DNBThreadStopInfo *stop_info) const;
DMachThreadList.h58 struct DNBThreadStopInfo *stop_info) const;
DMachThreadList.cpp89 nub_thread_t tid, struct DNBThreadStopInfo *stop_info) const { in GetThreadStoppedReason()
92 return thread_sp->GetStopException().GetStopInfo(stop_info); in GetThreadStoppedReason()
DMachProcess.h280 struct DNBThreadStopInfo *stop_info);
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DNativeThreadWindows.cpp95 void NativeThreadWindows::SetStopReason(ThreadStopInfo stop_info, in SetStopReason() argument
98 m_stop_info = stop_info; in SetStopReason()
102 bool NativeThreadWindows::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
112 stop_info = m_stop_info; in GetStopReason()
DProcessWindows.cpp386 StopInfoSP stop_info; in RefreshStateAfterStop() local
403 stop_info = StopInfo::CreateStopReasonWithBreakpointSiteID(*stop_thread, in RefreshStateAfterStop()
405 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
424 stop_info = StopInfo::CreateStopReasonWithWatchpointID( in RefreshStateAfterStop()
426 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
432 stop_info = StopInfo::CreateStopReasonToTrace(*stop_thread); in RefreshStateAfterStop()
433 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
458 stop_info = StopInfo::CreateStopReasonWithBreakpointSiteID( in RefreshStateAfterStop()
467 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
490 stop_info = StopInfo::CreateStopReasonWithException( in RefreshStateAfterStop()
[all …]
DNativeThreadWindows.h39 bool GetStopReason(ThreadStopInfo &stop_info,
51 void SetStopReason(ThreadStopInfo stop_info, std::string description);
DNativeProcessWindows.cpp254 ThreadStopInfo stop_info; in SetStopReasonForThread() local
255 stop_info.reason = reason; in SetStopReasonForThread()
259 stop_info.details.exception.type = 0; in SetStopReasonForThread()
260 stop_info.details.exception.data_count = 0; in SetStopReasonForThread()
262 stop_info.details.signal.signo = SIGTRAP; in SetStopReasonForThread()
265 thread.SetStopReason(stop_info, description); in SetStopReasonForThread()
/external/llvm-project/lldb/source/Target/
DThreadPlanTracer.cpp79 lldb::StopInfoSP stop_info = GetThread().GetStopInfo(); in TracerExplainsStop() local
80 return (stop_info->GetStopReason() == eStopReasonTrace); in TracerExplainsStop()
DThread.cpp698 StopInfo *stop_info = GetPrivateStopInfo().get(); in ShouldResume() local
699 if (stop_info) in ShouldResume()
700 stop_info->WillResume(resume_state); in ShouldResume()
1790 StructuredData::ObjectSP stop_info = m_stop_info_sp->GetExtendedInfo(); in GetDescription() local
1791 if (stop_info) { in GetDescription()
1792 stop_info->Dump(strm); in GetDescription()
/external/llvm-project/lldb/include/lldb/Host/common/
DNativeThreadProtocol.h32 virtual bool GetStopReason(ThreadStopInfo &stop_info,
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeThreadNetBSD.h36 bool GetStopReason(ThreadStopInfo &stop_info,
DNativeThreadNetBSD.cpp202 bool NativeThreadNetBSD::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
213 stop_info = m_stop_info; in GetStopReason()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeThreadFreeBSD.h36 bool GetStopReason(ThreadStopInfo &stop_info,
DNativeThreadFreeBSD.cpp185 bool NativeThreadFreeBSD::GetStopReason(ThreadStopInfo &stop_info, in GetStopReason() argument
196 stop_info = m_stop_info; in GetStopReason()
/external/llvm-project/lldb/source/Plugins/Process/Utility/
DStopInfoMachException.cpp392 if (StopInfoSP stop_info = in CreateStopReasonWithMachException() local
395 return stop_info; in CreateStopReasonWithMachException()
/external/llvm-project/lldb/source/Plugins/Process/minidump/
DProcessMinidump.cpp334 lldb::StopInfoSP stop_info; in RefreshStateAfterStop() local
349 stop_info = StopInfo::CreateStopReasonWithSignal( in RefreshStateAfterStop()
352 stop_info = StopInfoMachException::CreateStopReasonWithMachException( in RefreshStateAfterStop()
365 stop_info = StopInfo::CreateStopReasonWithException( in RefreshStateAfterStop()
369 stop_thread->SetStopInfo(stop_info); in RefreshStateAfterStop()
/external/llvm-project/lldb/source/API/
DSBThread.cpp278 StopInfoSP stop_info = exe_ctx.GetThreadPtr()->GetStopInfo(); in GetStopReasonExtendedInfoAsJSON() local
279 StructuredData::ObjectSP info = stop_info->GetExtendedInfo(); in GetStopReasonExtendedInfoAsJSON()
304 StopInfoSP stop_info = exe_ctx.GetThreadPtr()->GetStopInfo(); in GetStopReasonExtendedBacktraces() local
305 StructuredData::ObjectSP info = stop_info->GetExtendedInfo(); in GetStopReasonExtendedBacktraces()
/external/llvm-project/lldb/tools/debugserver/source/
DDNB.h193 DNBThreadStopInfo *stop_info);
DDNB.cpp1374 struct DNBThreadStopInfo *stop_info) { in DNBThreadGetStopReason() argument
1377 return procSP->GetThreadStoppedReason(tid, stop_info); in DNBThreadGetStopReason()
/external/llvm-project/lldb/source/Interpreter/
DCommandInterpreter.cpp2245 StopInfoSP stop_info = thread_sp->GetStopInfo(); in DidProcessStopAbnormally() local
2246 if (!stop_info) in DidProcessStopAbnormally()
2249 const StopReason reason = stop_info->GetStopReason(); in DidProcessStopAbnormally()
2254 const auto stop_signal = static_cast<int32_t>(stop_info->GetValue()); in DidProcessStopAbnormally()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp1568 StringExtractorGDBRemote &stop_info = m_stop_packet_stack[i]; in UpdateThreadIDList() local
1570 std::string(stop_info.GetStringRef()); in UpdateThreadIDList()
2367 StringExtractorGDBRemote stop_info = m_stop_packet_stack[i]; in RefreshStateAfterStop() local
2369 SetThreadStopInfo(stop_info); in RefreshStateAfterStop()
3637 StringExtractorGDBRemote stop_info(pkt.c_str() + 5); in HandleNotifyPacket() local
3640 SetLastStopPacket(stop_info); in HandleNotifyPacket()

12