LLDB  mainline
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::trace_intel_pt::ThreadDecoder Class Referenceabstract

Base class that handles the decoding of a thread and caches the result. More...

#include <IntelPTDecoder.h>

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

Public Member Functions

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
 

Protected Member Functions

virtual DecodedThreadSP DoDecode ()=0
 Decode the thread. More...
 

Protected Attributes

llvm::Optional< DecodedThreadSPm_decoded_thread
 

Detailed Description

Base class that handles the decoding of a thread and caches the result.

Definition at line 23 of file IntelPTDecoder.h.

Constructor & Destructor Documentation

◆ ~ThreadDecoder()

virtual lldb_private::trace_intel_pt::ThreadDecoder::~ThreadDecoder ( )
virtualdefault

◆ ThreadDecoder() [1/2]

lldb_private::trace_intel_pt::ThreadDecoder::ThreadDecoder ( )
default

◆ ThreadDecoder() [2/2]

lldb_private::trace_intel_pt::ThreadDecoder::ThreadDecoder ( const ThreadDecoder other)
delete

Member Function Documentation

◆ Decode()

DecodedThreadSP ThreadDecoder::Decode ( )

Decode the thread and store the result internally, to avoid recomputations.

Returns
A DecodedThread instance.

Definition at line 244 of file IntelPTDecoder.cpp.

◆ DoDecode()

virtual DecodedThreadSP lldb_private::trace_intel_pt::ThreadDecoder::DoDecode ( )
protectedpure virtual

◆ operator=()

ThreadDecoder& lldb_private::trace_intel_pt::ThreadDecoder::operator= ( const ThreadDecoder other)
delete

Member Data Documentation

◆ m_decoded_thread

llvm::Optional<DecodedThreadSP> lldb_private::trace_intel_pt::ThreadDecoder::m_decoded_thread
protected

Definition at line 46 of file IntelPTDecoder.h.


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