9#ifndef LLDB_SOURCE_COMMANDS_COMMANDOBJECTTHREADUTIL_H
10#define LLDB_SOURCE_COMMANDS_COMMANDOBJECTTHREADUTIL_H
21 UniqueStack(std::stack<lldb::addr_t> stack_frames, uint32_t thread_index_id)
53 const char *name,
const char *help,
54 const char *syntax, uint32_t flags);
85 const char *name,
const char *help,
86 const char *syntax, uint32_t flags);
99 llvm::ArrayRef<lldb::tid_t> tids) = 0;
A command line argument class.
UniqueStack(std::stack< lldb::addr_t > stack_frames, uint32_t thread_index_id)
lldb::tid_t GetRepresentativeThread() const
void AddThread(uint32_t thread_index_id) const
std::vector< uint32_t > m_thread_index_ids
friend bool operator<(const UniqueStack &lhs, const UniqueStack &rhs)
const std::vector< uint32_t > & GetUniqueThreadIndexIDs() const
std::stack< lldb::addr_t > m_stack_frames
lldb::ReturnStatus m_success_return
bool BucketThread(lldb::tid_t tid, std::set< UniqueStack > &unique_stacks, CommandReturnObject &result)
~CommandObjectIterateOverThreads() override=default
virtual bool HandleOneThread(lldb::tid_t, CommandReturnObject &result)=0
void DoExecute(Args &command, CommandReturnObject &result) override
Class similar to CommandObjectIterateOverThreads, but which performs an action on multiple threads at...
virtual bool DoExecuteOnThreads(Args &command, CommandReturnObject &result, llvm::ArrayRef< lldb::tid_t > tids)=0
Method that handles the command after the main arguments have been parsed.
void DoExecute(Args &command, CommandReturnObject &result) override
A class that represents a running process on the host machine.
ReturnStatus
Command Return Status Types.
@ eReturnStatusSuccessFinishResult