Lines Matching defs:SBThread
1 //===-- SBThread.cpp ------------------------------------------------------===//
9 #include "lldb/API/SBThread.h"
53 const char *SBThread::GetBroadcasterClassName() {
60 SBThread::SBThread() : m_opaque_sp(new ExecutionContextRef()) {
64 SBThread::SBThread(const ThreadSP &lldb_object_sp)
69 SBThread::SBThread(const SBThread &rhs) {
77 const lldb::SBThread &SBThread::operator=(const SBThread &rhs) {
86 SBThread::~SBThread() = default;
88 lldb::SBQueue SBThread::GetQueue() const {
109 bool SBThread::IsValid() const {
113 SBThread::operator bool() const {
130 void SBThread::Clear() {
136 StopReason SBThread::GetStopReason() {
153 size_t SBThread::GetStopReasonDataCount() {
210 uint64_t SBThread::GetStopReasonDataAtIndex(uint32_t idx) {
279 bool SBThread::GetStopReasonExtendedInfoAsJSON(lldb::SBStream &stream) {
301 SBThread::GetStopReasonExtendedBacktraces(InstrumentationRuntimeType type) {
324 size_t SBThread::GetStopDescription(char *dst, size_t dst_len) {
352 SBValue SBThread::GetStopReturnValue() {
372 void SBThread::SetThread(const ThreadSP &lldb_object_sp) {
376 lldb::tid_t SBThread::GetThreadID() const {
385 uint32_t SBThread::GetIndexID() const {
394 const char *SBThread::GetName() const {
410 const char *SBThread::GetQueueName() const {
426 lldb::queue_id_t SBThread::GetQueueID() const {
443 bool SBThread::GetInfoItemByPathAsString(const char *path, SBStream &strm) {
490 SBError SBThread::ResumeNewPlan(ExecutionContext &exe_ctx,
496 sb_error.SetErrorString("No process in SBThread::ResumeNewPlan");
502 sb_error.SetErrorString("No thread in SBThread::ResumeNewPlan");
524 void SBThread::StepOver(lldb::RunMode stop_other_threads) {
531 void SBThread::StepOver(lldb::RunMode stop_other_threads, SBError &error) {
538 error.SetErrorString("this SBThread object is invalid");
563 void SBThread::StepInto(lldb::RunMode stop_other_threads) {
569 void SBThread::StepInto(const char *target_name,
577 void SBThread::StepInto(const char *target_name, uint32_t end_line,
585 error.SetErrorString("this SBThread object is invalid");
625 void SBThread::StepOut() {
632 void SBThread::StepOut(SBError &error) {
639 error.SetErrorString("this SBThread object is invalid");
660 void SBThread::StepOutOfFrame(SBFrame &sb_frame) {
667 void SBThread::StepOutOfFrame(SBFrame &sb_frame, SBError &error) {
681 error.SetErrorString("this SBThread object is invalid");
704 void SBThread::StepInstruction(bool step_over) {
711 void SBThread::StepInstruction(bool step_over, SBError &error) {
718 error.SetErrorString("this SBThread object is invalid");
733 void SBThread::RunToAddress(lldb::addr_t addr) {
740 void SBThread::RunToAddress(lldb::addr_t addr, SBError &error) {
747 error.SetErrorString("this SBThread object is invalid");
768 SBError SBThread::StepOverUntil(lldb::SBFrame &sb_frame,
879 sb_error.SetErrorString("this SBThread object is invalid");
884 SBError SBThread::StepUsingScriptedThreadPlan(const char *script_class_name) {
890 SBError SBThread::StepUsingScriptedThreadPlan(const char *script_class_name,
899 SBError SBThread::StepUsingScriptedThreadPlan(const char *script_class_name,
910 error.SetErrorString("this SBThread object is invalid");
937 SBError SBThread::JumpToLine(lldb::SBFileSpec &file_spec, uint32_t line) {
946 sb_error.SetErrorString("this SBThread object is invalid");
957 SBError SBThread::ReturnFromFrame(SBFrame &frame, SBValue &return_value) {
974 SBError SBThread::UnwindInnermostExpression() {
992 bool SBThread::Suspend() {
999 bool SBThread::Suspend(SBError &error) {
1015 error.SetErrorString("this SBThread object is invalid");
1019 bool SBThread::Resume() {
1026 bool SBThread::Resume(SBError &error) {
1043 error.SetErrorString("this SBThread object is invalid");
1047 bool SBThread::IsSuspended() {
1058 bool SBThread::IsStopped() {
1069 SBProcess SBThread::GetProcess() {
1085 uint32_t SBThread::GetNumFrames() {
1102 SBFrame SBThread::GetFrameAtIndex(uint32_t idx) {
1121 lldb::SBFrame SBThread::GetSelectedFrame() {
1141 lldb::SBFrame SBThread::SetSelectedFrame(uint32_t idx) {
1164 bool SBThread::EventIsThreadEvent(const SBEvent &event) {
1170 SBFrame SBThread::GetStackFrameFromEvent(const SBEvent &event) {
1176 SBThread SBThread::GetThreadFromEvent(const SBEvent &event) {
1182 bool SBThread::operator==(const SBThread &rhs) const {
1189 bool SBThread::operator!=(const SBThread &rhs) const {
1196 bool SBThread::GetStatus(SBStream &status) const {
1212 bool SBThread::GetDescription(SBStream &description) const {
1218 bool SBThread::GetDescription(SBStream &description, bool stop_format) const {
1235 SBError SBThread::GetDescriptionWithFormat(const SBFormat &format,
1262 SBThread SBThread::GetExtendedBacktraceThread(const char *type) {
1267 SBThread sb_origin_thread;
1296 uint32_t SBThread::GetExtendedBacktraceOriginatingIndexID() {
1305 SBValue SBThread::GetCurrentException() {
1315 SBThread SBThread::GetCurrentExceptionBacktrace() {
1320 return SBThread();
1322 return SBThread(thread_sp->GetCurrentExceptionBacktrace());
1325 bool SBThread::SafeToCallFunctions() {
1334 lldb_private::Thread *SBThread::operator->() {
1338 lldb_private::Thread *SBThread::get() {
1342 SBValue SBThread::GetSiginfo() {