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

#include <IntelPTDecoder.h>

Inheritance diagram for lldb_private::trace_intel_pt::LiveThreadDecoder:
Inheritance graph
Collaboration diagram for lldb_private::trace_intel_pt::LiveThreadDecoder:
Collaboration graph

Public Member Functions

 LiveThreadDecoder (Thread &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::ThreadSP m_thread_sp

Additional Inherited Members

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

Detailed Description

Definition at line 68 of file IntelPTDecoder.h.

Constructor & Destructor Documentation

◆ LiveThreadDecoder()

LiveThreadDecoder::LiveThreadDecoder ( Thread thread,
TraceIntelPT trace 
[in]threadThe thread whose traces will be decoded.
[in]traceThe main Trace object who owns this decoder and its data.

Definition at line 267 of file IntelPTDecoder.cpp.

Member Function Documentation

◆ DoDecode()

DecodedThreadSP LiveThreadDecoder::DoDecode ( )

Decode the thread.

A DecodedThread instance.

Implements lldb_private::trace_intel_pt::ThreadDecoder.

Definition at line 270 of file IntelPTDecoder.cpp.

References DecodeLiveThread(), m_thread_sp, and m_trace.

Member Data Documentation

◆ m_thread_sp

lldb::ThreadSP lldb_private::trace_intel_pt::LiveThreadDecoder::m_thread_sp

Definition at line 80 of file IntelPTDecoder.h.

Referenced by DoDecode().

◆ m_trace

TraceIntelPT& lldb_private::trace_intel_pt::LiveThreadDecoder::m_trace

Definition at line 81 of file IntelPTDecoder.h.

Referenced by DoDecode().

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