9#ifndef LLDB_API_SBTHREAD_H
10#define LLDB_API_SBTHREAD_H
23 eBroadcastBitStackChanged = (1 << 0),
24 eBroadcastBitThreadSuspended = (1 << 1),
25 eBroadcastBitThreadResumed = (1 << 2),
26 eBroadcastBitSelectedFrameChanged = (1 << 3),
27 eBroadcastBitThreadSelected = (1 << 4)
30 static const char *GetBroadcasterClassName();
37 SBThread(
const lldb::ThreadSP &lldb_object_sp);
44 explicit operator bool()
const;
54 size_t GetStopReasonDataCount();
75 uint64_t GetStopReasonDataAtIndex(
uint32_t idx);
82 size_t GetStopDescription(
char *dst_or_null,
size_t dst_len);
92 const char *GetQueueName()
const;
96 bool GetInfoItemByPathAsString(
const char *path,
SBStream &strm);
104 void StepInto(
const char *target_name,
114 void StepOutOfFrame(
SBFrame &frame);
118 void StepInstruction(
bool step_over);
125 SBError StepUsingScriptedThreadPlan(
const char *script_class_name);
127 SBError StepUsingScriptedThreadPlan(
const char *script_class_name,
128 bool resume_immediately);
130 SBError StepUsingScriptedThreadPlan(
const char *script_class_name,
132 bool resume_immediately);
142 SBError UnwindInnermostExpression();
183 static bool EventIsThreadEvent(
const SBEvent &event);
199 bool GetDescription(
lldb::SBStream &description,
bool stop_format)
const;
203 SBThread GetExtendedBacktraceThread(
const char *type);
205 uint32_t GetExtendedBacktraceOriginatingIndexID();
209 SBThread GetCurrentExceptionBacktrace();
211 bool SafeToCallFunctions();
229 void SetThread(
const lldb::ThreadSP &lldb_object_sp);
static llvm::raw_ostream & error(Stream &strm)
bool operator!=(const DWARFBaseDIE &lhs, const DWARFBaseDIE &rhs)
bool operator==(const DWARFBaseDIE &lhs, const DWARFBaseDIE &rhs)
static llvm::StringRef GetName(XcodeSDK::Type type)
SBThread(const lldb::ThreadSP &lldb_object_sp)
lldb::ExecutionContextRefSP m_opaque_sp
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
InstrumentationRuntimeType
StopReason
Thread stop reasons.