LLDB mainline
|
#include <ThreadPlanTracer.h>
Public Member Functions | |
ThreadPlanAssemblyTracer (Thread &thread, lldb::StreamSP &stream_sp) | |
ThreadPlanAssemblyTracer (Thread &thread) | |
~ThreadPlanAssemblyTracer () override | |
void | TracingStarted () override |
void | TracingEnded () override |
void | Log () override |
Public Member Functions inherited from lldb_private::ThreadPlanTracer | |
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 () |
Private Member Functions | |
Disassembler * | GetDisassembler () |
TypeFromUser | GetIntPointerType () |
Private Attributes | |
lldb::DisassemblerSP | m_disassembler_sp |
TypeFromUser | m_intptr_type |
std::vector< RegisterValue > | m_register_values |
lldb::DataBufferSP | m_buffer_sp |
Additional Inherited Members | |
Public Types inherited from lldb_private::ThreadPlanTracer | |
enum | ThreadPlanTracerStyle { eLocation = 0 , eStateChange , eCheckFrames , ePython } |
Protected Member Functions inherited from lldb_private::ThreadPlanTracer | |
Stream * | GetLogStream () |
virtual void | Log () |
Protected Attributes inherited from lldb_private::ThreadPlanTracer | |
Process & | m_process |
lldb::tid_t | m_tid |
Definition at line 71 of file ThreadPlanTracer.h.
ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer | ( | Thread & | thread, |
lldb::StreamSP & | stream_sp | ||
) |
Definition at line 87 of file ThreadPlanTracer.cpp.
ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer | ( | Thread & | thread | ) |
Definition at line 92 of file ThreadPlanTracer.cpp.
|
overridedefault |
|
private |
Definition at line 96 of file ThreadPlanTracer.cpp.
References lldb_private::Disassembler::FindPlugin(), lldb_private::Target::GetArchitecture(), lldb_private::Process::GetTarget(), m_disassembler_sp, and lldb_private::ThreadPlanTracer::m_process.
Referenced by Log().
|
private |
Definition at line 103 of file ThreadPlanTracer.cpp.
References lldb_private::Process::CalculateTarget(), lldb::eEncodingUint, lldb::eLanguageTypeC, lldb_private::GetLog(), lldb_private::CompilerType::IsValid(), LLDB_LOG_ERROR, m_intptr_type, lldb_private::ThreadPlanTracer::m_process, and lldb_private::Types.
Referenced by Log().
|
overridevirtual |
Reimplemented from lldb_private::ThreadPlanTracer.
Definition at line 130 of file ThreadPlanTracer.cpp.
References lldb_private::Disassembler::DecodeInstructions(), lldb_private::Address::Dump(), lldb_private::Instruction::Dump(), lldb_private::DumpRegisterValue(), lldb_private::Address::DumpStyleModuleWithFileAddress, lldb_private::Address::DumpStyleResolvedDescription, lldb::eFormatDefault, lldb_private::Stream::EOL(), lldb_private::RegisterValue::eTypeInvalid, lldb_private::Stream::Flush(), lldb_private::Process::GetABI(), lldb_private::Process::GetAddressByteSize(), lldb_private::ABI::GetArgumentValues(), lldb_private::Process::GetByteOrder(), lldb_private::Target::GetDebugger(), GetDisassembler(), lldb_private::Debugger::GetDisassemblyFormat(), lldb_private::InstructionList::GetInstructionAtIndex(), lldb_private::Disassembler::GetInstructionList(), GetIntPointerType(), lldb_private::ThreadPlanTracer::GetLogStream(), lldb_private::InstructionList::GetMaxOpcocdeByteSize(), lldb_private::RegisterContext::GetPC(), lldb_private::Thread::GetRegisterContext(), lldb_private::RegisterContext::GetRegisterCount(), lldb_private::RegisterContext::GetRegisterInfoAtIndex(), lldb_private::Value::GetScalar(), lldb_private::Target::GetSectionLoadList(), lldb_private::InstructionList::GetSize(), lldb_private::Process::GetTarget(), lldb_private::ThreadPlanTracer::GetThread(), lldb_private::RegisterValue::GetType(), lldb_private::ValueList::GetValueAtIndex(), lldb_private::CompilerType::IsValid(), lldb_private::ThreadPlanTracer::m_process, m_register_values, pc, lldb_private::Stream::Printf(), lldb_private::ValueList::PushValue(), lldb_private::Stream::PutCString(), lldb_private::Process::ReadMemory(), lldb_private::RegisterContext::ReadRegister(), lldb_private::SectionLoadList::ResolveLoadAddress(), lldb_private::Value::Scalar, lldb_private::Value::SetCompilerType(), lldb_private::Value::SetValueType(), lldb_private::Status::Success(), and lldb_private::Scalar::ULongLong().
|
overridevirtual |
Reimplemented from lldb_private::ThreadPlanTracer.
Definition at line 128 of file ThreadPlanTracer.cpp.
References m_register_values.
|
overridevirtual |
Reimplemented from lldb_private::ThreadPlanTracer.
Definition at line 125 of file ThreadPlanTracer.cpp.
|
private |
Definition at line 89 of file ThreadPlanTracer.h.
|
private |
Definition at line 86 of file ThreadPlanTracer.h.
Referenced by GetDisassembler().
|
private |
Definition at line 87 of file ThreadPlanTracer.h.
Referenced by GetIntPointerType().
|
private |
Definition at line 88 of file ThreadPlanTracer.h.
Referenced by Log(), and TracingEnded().