LLDB mainline
OutputWriterCLI Class Reference
Inheritance diagram for OutputWriterCLI:
[legend]

Public Member Functions

 OutputWriterCLI (Stream &s, const TraceDumperOptions &options, Thread &thread)
void NoMoreData () override
 Notify this writer that the cursor ran out of data.
void FunctionCallForest (const std::vector< TraceDumper::FunctionCallUP > &forest) override
 Dump a function call forest.
void TraceItem (const TraceDumper::TraceItem &item) override
 Dump a trace item (instruction, error or event).
Public Member Functions inherited from lldb_private::TraceDumper::OutputWriter
virtual ~OutputWriter ()=default

Private Member Functions

void DumpSegmentContext (const TraceDumper::FunctionCall::TracedSegment &segment)
void DumpUntracedContext (const TraceDumper::FunctionCall &function_call)
void DumpFunctionCallTree (const TraceDumper::FunctionCall &function_call)

Private Attributes

Streamm_s
TraceDumperOptions m_options
bool m_was_prev_instruction_an_error = false

Detailed Description

Definition at line 113 of file TraceDumper.cpp.

Constructor & Destructor Documentation

◆ OutputWriterCLI()

OutputWriterCLI::OutputWriterCLI ( Stream & s,
const TraceDumperOptions & options,
Thread & thread )
inline

Definition at line 115 of file TraceDumper.cpp.

References m_options, and m_s.

Member Function Documentation

◆ DumpFunctionCallTree()

◆ DumpSegmentContext()

◆ DumpUntracedContext()

◆ FunctionCallForest()

void OutputWriterCLI::FunctionCallForest ( const std::vector< TraceDumper::FunctionCallUP > & forest)
inlineoverridevirtual

Dump a function call forest.

Implements lldb_private::TraceDumper::OutputWriter.

Definition at line 122 of file TraceDumper.cpp.

References DumpFunctionCallTree(), and m_s.

◆ NoMoreData()

void OutputWriterCLI::NoMoreData ( )
inlineoverridevirtual

Notify this writer that the cursor ran out of data.

Reimplemented from lldb_private::TraceDumper::OutputWriter.

Definition at line 120 of file TraceDumper.cpp.

References m_s.

◆ TraceItem()

Member Data Documentation

◆ m_options

TraceDumperOptions OutputWriterCLI::m_options
private

Definition at line 277 of file TraceDumper.cpp.

Referenced by OutputWriterCLI(), and TraceItem().

◆ m_s

◆ m_was_prev_instruction_an_error

bool OutputWriterCLI::m_was_prev_instruction_an_error = false
private

Definition at line 278 of file TraceDumper.cpp.

Referenced by TraceItem().


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