9#ifndef LLDB_SOURCE_PLUGINS_TRACE_THREAD_DECODER_H
10#define LLDB_SOURCE_PLUGINS_TRACE_THREAD_DECODER_H
20namespace trace_intel_pt {
37 llvm::Expected<DecodedThreadSP>
Decode();
49 llvm::Expected<DecodedThreadSP>
DoDecode();
Class that handles the decoding of a thread and caches the result.
ThreadDecoder(const ThreadDecoder &other)=delete
llvm::Expected< DecodedThreadSP > Decode()
Decode the thread and store the result internally, to avoid recomputations.
llvm::Expected< std::optional< uint64_t > > FindLowestTSC()
std::optional< DecodedThreadSP > m_decoded_thread
llvm::Expected< DecodedThreadSP > DoDecode()
lldb::ThreadSP m_thread_sp
ThreadDecoder & operator=(const ThreadDecoder &other)=delete
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Thread > ThreadSP