9#ifndef LLDB_TARGET_THREADSPEC_H
10#define LLDB_TARGET_THREADSPEC_H
37 static std::unique_ptr<ThreadSpec>
67 return thread_id ==
m_tid;
84 else if (name ==
nullptr)
95 else if (queue_name ==
nullptr)
static llvm::raw_ostream & error(Stream &strm)
A stream class that can stream formatted output to a file.
std::shared_ptr< Object > ObjectSP
bool HasSpecification() const
void SetIndex(uint32_t index)
void SetName(llvm::StringRef name)
bool NameMatches(const char *name) const
bool TIDMatches(lldb::tid_t thread_id) const
StructuredData::ObjectSP SerializeToStructuredData()
bool ThreadPassesBasicTests(Thread &thread) const
bool QueueNameMatches(const char *queue_name) const
uint32_t GetIndex() const
static const char * GetKey(OptionNames enum_value)
void SetTID(lldb::tid_t tid)
static const char * GetSerializationKey()
const char * GetName() const
bool IndexMatches(uint32_t index) const
void SetQueueName(llvm::StringRef queue_name)
void GetDescription(Stream *s, lldb::DescriptionLevel level) const
const char * GetQueueName() const
static const char * g_option_names[(size_t) OptionNames::LastOptionName]
static std::unique_ptr< ThreadSpec > CreateFromStructuredData(const StructuredData::Dictionary &data_dict, Status &error)
lldb::tid_t GetTID() const
#define LLDB_INVALID_THREAD_ID
A class that represents a running process on the host machine.
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.