LLDB mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::ThreadPlanAssemblyTracer Class Reference

#include <ThreadPlanTracer.h>

Inheritance diagram for lldb_private::ThreadPlanAssemblyTracer:
Inheritance graph
[legend]

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 ()
 
ThreadGetThread ()
 

Private Member Functions

DisassemblerGetDisassembler ()
 
TypeFromUser GetIntPointerType ()
 

Private Attributes

lldb::DisassemblerSP m_disassembler_sp
 
TypeFromUser m_intptr_type
 
std::vector< RegisterValuem_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
StreamGetLogStream ()
 
virtual void Log ()
 
- Protected Attributes inherited from lldb_private::ThreadPlanTracer
Processm_process
 
lldb::tid_t m_tid
 

Detailed Description

Definition at line 71 of file ThreadPlanTracer.h.

Constructor & Destructor Documentation

◆ ThreadPlanAssemblyTracer() [1/2]

ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer ( Thread thread,
lldb::StreamSP stream_sp 
)

Definition at line 87 of file ThreadPlanTracer.cpp.

◆ ThreadPlanAssemblyTracer() [2/2]

ThreadPlanAssemblyTracer::ThreadPlanAssemblyTracer ( Thread thread)

Definition at line 92 of file ThreadPlanTracer.cpp.

◆ ~ThreadPlanAssemblyTracer()

ThreadPlanAssemblyTracer::~ThreadPlanAssemblyTracer ( )
overridedefault

Member Function Documentation

◆ GetDisassembler()

Disassembler * ThreadPlanAssemblyTracer::GetDisassembler ( )
private

◆ GetIntPointerType()

TypeFromUser ThreadPlanAssemblyTracer::GetIntPointerType ( )
private

◆ Log()

void ThreadPlanAssemblyTracer::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().

◆ TracingEnded()

void ThreadPlanAssemblyTracer::TracingEnded ( )
overridevirtual

Reimplemented from lldb_private::ThreadPlanTracer.

Definition at line 128 of file ThreadPlanTracer.cpp.

References m_register_values.

◆ TracingStarted()

void ThreadPlanAssemblyTracer::TracingStarted ( )
overridevirtual

Reimplemented from lldb_private::ThreadPlanTracer.

Definition at line 125 of file ThreadPlanTracer.cpp.

Member Data Documentation

◆ m_buffer_sp

lldb::DataBufferSP lldb_private::ThreadPlanAssemblyTracer::m_buffer_sp
private

Definition at line 89 of file ThreadPlanTracer.h.

◆ m_disassembler_sp

lldb::DisassemblerSP lldb_private::ThreadPlanAssemblyTracer::m_disassembler_sp
private

Definition at line 86 of file ThreadPlanTracer.h.

Referenced by GetDisassembler().

◆ m_intptr_type

TypeFromUser lldb_private::ThreadPlanAssemblyTracer::m_intptr_type
private

Definition at line 87 of file ThreadPlanTracer.h.

Referenced by GetIntPointerType().

◆ m_register_values

std::vector<RegisterValue> lldb_private::ThreadPlanAssemblyTracer::m_register_values
private

Definition at line 88 of file ThreadPlanTracer.h.

Referenced by Log(), and TracingEnded().


The documentation for this class was generated from the following files: