LLDB mainline
|
#include <ThreadPlanTracer.h>
Public Types | |
enum | ThreadPlanTracerStyle { eLocation = 0 , eStateChange , eCheckFrames , ePython } |
Public Member Functions | |
ThreadPlanTracer (Thread &thread, lldb::StreamSP &stream_sp) | |
ThreadPlanTracer (Thread &thread) | |
virtual | ~ThreadPlanTracer ()=default |
virtual void | TracingStarted () |
virtual void | TracingEnded () |
bool | EnableTracing (bool value) |
bool | TracingEnabled () |
Thread & | GetThread () |
Protected Member Functions | |
Stream * | GetLogStream () |
virtual void | Log () |
Protected Attributes | |
Process & | m_process |
lldb::tid_t | m_tid |
Private Member Functions | |
bool | TracerExplainsStop () |
Private Attributes | |
bool | m_enabled |
lldb::StreamSP | m_stream_sp |
Thread * | m_thread |
Friends | |
class | ThreadPlan |
Definition at line 20 of file ThreadPlanTracer.h.
Enumerator | |
---|---|
eLocation | |
eStateChange | |
eCheckFrames | |
ePython |
Definition at line 24 of file ThreadPlanTracer.h.
ThreadPlanTracer::ThreadPlanTracer | ( | Thread & | thread, |
lldb::StreamSP & | stream_sp | ||
) |
Definition at line 36 of file ThreadPlanTracer.cpp.
ThreadPlanTracer::ThreadPlanTracer | ( | Thread & | thread | ) |
Definition at line 40 of file ThreadPlanTracer.cpp.
|
virtualdefault |
|
inline |
Definition at line 40 of file ThreadPlanTracer.h.
References m_enabled, TracingEnded(), and TracingStarted().
|
protected |
Definition at line 44 of file ThreadPlanTracer.cpp.
References GetThread(), and m_stream_sp.
Referenced by Log(), and lldb_private::ThreadPlanAssemblyTracer::Log().
Thread & ThreadPlanTracer::GetThread | ( | ) |
Definition at line 55 of file ThreadPlanTracer.cpp.
References lldb_private::ThreadList::FindThreadByID(), lldb_private::Process::GetThreadList(), m_process, m_thread, and m_tid.
Referenced by GetLogStream(), Log(), lldb_private::ThreadPlanAssemblyTracer::Log(), and TracerExplainsStop().
|
protectedvirtual |
Reimplemented in lldb_private::ThreadPlanAssemblyTracer.
Definition at line 63 of file ThreadPlanTracer.cpp.
References lldb_private::Stream::Flush(), GetLogStream(), lldb_private::Thread::GetStackFrameAtIndex(), GetThread(), and lldb_private::Stream::Printf().
|
private |
Definition at line 77 of file ThreadPlanTracer.cpp.
References lldb::eStopReasonTrace, lldb_private::Thread::GetStopInfo(), GetThread(), and m_enabled.
|
inline |
Definition at line 51 of file ThreadPlanTracer.h.
References m_enabled.
|
inlinevirtual |
Reimplemented in lldb_private::ThreadPlanAssemblyTracer.
Definition at line 38 of file ThreadPlanTracer.h.
Referenced by EnableTracing().
|
inlinevirtual |
Reimplemented in lldb_private::ThreadPlanAssemblyTracer.
Definition at line 36 of file ThreadPlanTracer.h.
Referenced by EnableTracing().
|
friend |
Definition at line 21 of file ThreadPlanTracer.h.
|
private |
Definition at line 66 of file ThreadPlanTracer.h.
Referenced by EnableTracing(), TracerExplainsStop(), and TracingEnabled().
|
protected |
Definition at line 56 of file ThreadPlanTracer.h.
Referenced by lldb_private::ThreadPlanAssemblyTracer::GetDisassembler(), lldb_private::ThreadPlanAssemblyTracer::GetIntPointerType(), GetThread(), and lldb_private::ThreadPlanAssemblyTracer::Log().
|
private |
Definition at line 67 of file ThreadPlanTracer.h.
Referenced by GetLogStream().
|
private |
Definition at line 68 of file ThreadPlanTracer.h.
Referenced by GetThread().
|
protected |
Definition at line 57 of file ThreadPlanTracer.h.
Referenced by GetThread().