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

Decoder implementation for lldb_private::ThreadPostMortemTrace, which are non-live processes that come trace session files. More...

#include <IntelPTDecoder.h>

Inheritance diagram for lldb_private::trace_intel_pt::PostMortemThreadDecoder:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::trace_intel_pt::PostMortemThreadDecoder:
Collaboration graph
[legend]

Public Member Functions

 PostMortemThreadDecoder (const lldb::ThreadPostMortemTraceSP &trace_thread, TraceIntelPT &trace)
 
- Public Member Functions inherited from lldb_private::trace_intel_pt::ThreadDecoder
virtual ~ThreadDecoder ()=default
 
 ThreadDecoder ()=default
 
DecodedThreadSP Decode ()
 Decode the thread and store the result internally, to avoid recomputations. More...
 
 ThreadDecoder (const ThreadDecoder &other)=delete
 
ThreadDecoderoperator= (const ThreadDecoder &other)=delete
 

Private Member Functions

DecodedThreadSP DoDecode () override
 Decode the thread. More...
 

Private Attributes

lldb::ThreadPostMortemTraceSP m_trace_thread
 
TraceIntelPTm_trace
 

Additional Inherited Members

- Protected Attributes inherited from lldb_private::trace_intel_pt::ThreadDecoder
llvm::Optional< DecodedThreadSPm_decoded_thread
 

Detailed Description

Decoder implementation for lldb_private::ThreadPostMortemTrace, which are non-live processes that come trace session files.

Definition at line 51 of file IntelPTDecoder.h.

Constructor & Destructor Documentation

◆ PostMortemThreadDecoder()

PostMortemThreadDecoder::PostMortemThreadDecoder ( const lldb::ThreadPostMortemTraceSP &  trace_thread,
TraceIntelPT trace 
)
Parameters
[in]trace_threadThe thread whose trace file will be decoded.
[in]traceThe main Trace object who owns this decoder and its data.

Definition at line 250 of file IntelPTDecoder.cpp.

Member Function Documentation

◆ DoDecode()

DecodedThreadSP PostMortemThreadDecoder::DoDecode ( )
overrideprivatevirtual

Decode the thread.

Returns
A DecodedThread instance.

Implements lldb_private::trace_intel_pt::ThreadDecoder.

Definition at line 254 of file IntelPTDecoder.cpp.

References DecodeTraceFile(), m_trace, and m_trace_thread.

Member Data Documentation

◆ m_trace

TraceIntelPT& lldb_private::trace_intel_pt::PostMortemThreadDecoder::m_trace
private

Definition at line 65 of file IntelPTDecoder.h.

Referenced by DoDecode().

◆ m_trace_thread

lldb::ThreadPostMortemTraceSP lldb_private::trace_intel_pt::PostMortemThreadDecoder::m_trace_thread
private

Definition at line 64 of file IntelPTDecoder.h.

Referenced by DoDecode().


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