Home
last modified time | relevance | path

Searched refs:sb_error (Results 1 – 13 of 13) sorted by relevance

/external/llvm-project/lldb/source/API/
DSBProcess.cpp607 SBError sb_error; in Continue() local
615 sb_error.ref() = process_sp->Resume(); in Continue()
617 sb_error.ref() = process_sp->ResumeSynchronous(nullptr); in Continue()
619 sb_error.SetErrorString("SBProcess is invalid"); in Continue()
621 return LLDB_RECORD_RESULT(sb_error); in Continue()
627 SBError sb_error; in Destroy() local
632 sb_error.SetError(process_sp->Destroy(false)); in Destroy()
634 sb_error.SetErrorString("SBProcess is invalid"); in Destroy()
636 return LLDB_RECORD_RESULT(sb_error); in Destroy()
642 SBError sb_error; in Stop() local
[all …]
DSBPlatform.cpp412 SBError sb_error; in ConnectRemote() local
418 sb_error.ref() = platform_sp->ConnectRemote(args); in ConnectRemote()
420 sb_error.SetErrorString("invalid platform"); in ConnectRemote()
422 return LLDB_RECORD_RESULT(sb_error); in ConnectRemote()
531 SBError sb_error; in Get() local
534 sb_error.ref() = platform_sp->GetFile(src.ref(), dst.ref()); in Get()
536 sb_error.SetErrorString("invalid platform"); in Get()
538 return LLDB_RECORD_RESULT(sb_error); in Get()
627 SBError sb_error; in ExecuteConnected() local
631 sb_error.ref() = func(platform_sp); in ExecuteConnected()
[all …]
DSBThread.cpp486 SBError sb_error; in ResumeNewPlan() local
490 sb_error.SetErrorString("No process in SBThread::ResumeNewPlan"); in ResumeNewPlan()
491 return sb_error; in ResumeNewPlan()
496 sb_error.SetErrorString("No thread in SBThread::ResumeNewPlan"); in ResumeNewPlan()
497 return sb_error; in ResumeNewPlan()
511 sb_error.ref() = process->Resume(); in ResumeNewPlan()
513 sb_error.ref() = process->ResumeSynchronous(nullptr); in ResumeNewPlan()
515 return sb_error; in ResumeNewPlan()
780 SBError sb_error; in StepOverUntil() local
793 sb_error.SetErrorString("invalid line argument"); in StepOverUntil()
[all …]
DSBBreakpointLocation.cpp223 SBError sb_error; in SetScriptCallbackFunction() local
239 sb_error.SetError(error); in SetScriptCallbackFunction()
241 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackFunction()
243 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackFunction()
253 SBError sb_error; in SetScriptCallbackBody() local
264 sb_error.SetError(error); in SetScriptCallbackBody()
266 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackBody()
268 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackBody()
DSBBreakpointName.cpp584 SBError sb_error; in SetScriptCallbackFunction() local
587 sb_error.SetErrorString("unrecognized breakpoint name"); in SetScriptCallbackFunction()
588 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackFunction()
603 sb_error.SetError(error); in SetScriptCallbackFunction()
605 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackFunction()
613 SBError sb_error; in SetScriptCallbackBody() local
616 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackBody()
627 sb_error.SetError(error); in SetScriptCallbackBody()
628 if (!sb_error.Fail()) in SetScriptCallbackBody()
631 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackBody()
DSBStructuredData.cpp105 SBError sb_error; in GetDescription() local
106 sb_error.SetError(error); in GetDescription()
107 return LLDB_RECORD_RESULT(sb_error); in GetDescription()
DSBTarget.cpp313 SBError sb_error; in Install() local
317 sb_error.ref() = target_sp->Install(nullptr); in Install()
319 return LLDB_RECORD_RESULT(sb_error); in Install()
703 SBError sb_error; in ReadMemory() local
709 target_sp->ReadMemory(addr.ref(), false, buf, size, sb_error.ref()); in ReadMemory()
711 sb_error.SetErrorString("invalid target"); in ReadMemory()
2142 SBError sb_error; in SetSectionLoadAddress() local
2146 sb_error.SetErrorStringWithFormat("invalid section"); in SetSectionLoadAddress()
2151 sb_error.SetErrorString( in SetSectionLoadAddress()
2170 sb_error.SetErrorString("invalid target"); in SetSectionLoadAddress()
[all …]
DSBDebugger.cpp732 lldb::SBError &sb_error) { in CreateTarget() argument
736 filename, target_triple, platform_name, add_dependent_modules, sb_error); in CreateTarget()
741 sb_error.Clear(); in CreateTarget()
745 sb_error.ref() = m_opaque_sp->GetTargetList().CreateTarget( in CreateTarget()
750 if (sb_error.Success()) in CreateTarget()
753 sb_error.SetErrorString("invalid debugger"); in CreateTarget()
762 platform_name, add_dependent_modules, sb_error.GetCString(), in CreateTarget()
1268 SBError sb_error; in SetInternalVariable() local
1282 sb_error.SetError(error); in SetInternalVariable()
1283 return LLDB_RECORD_RESULT(sb_error); in SetInternalVariable()
[all …]
DSBBreakpoint.cpp632 SBError sb_error; in SetScriptCallbackFunction() local
647 sb_error.SetError(error); in SetScriptCallbackFunction()
649 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackFunction()
651 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackFunction()
660 SBError sb_error; in SetScriptCallbackBody() local
670 sb_error.SetError(error); in SetScriptCallbackBody()
672 sb_error.SetErrorString("invalid breakpoint"); in SetScriptCallbackBody()
674 return LLDB_RECORD_RESULT(sb_error); in SetScriptCallbackBody()
DSBWatchpoint.cpp90 SBError sb_error; in GetError() local
93 sb_error.SetError(watchpoint_sp->GetError()); in GetError()
95 return LLDB_RECORD_RESULT(sb_error); in GetError()
DSBValue.cpp267 SBError sb_error; in GetError() local
272 sb_error.SetError(value_sp->GetError()); in GetError()
274 sb_error.SetErrorStringWithFormat("error: %s", in GetError()
277 return LLDB_RECORD_RESULT(sb_error); in GetError()
/external/llvm-project/lldb/test/API/python_api/default-constructor/
DTestDefaultConstructorForAPIObjects.py136 import sb_error
137 sb_error.fuzz_obj(obj)
/external/llvm-project/lldb/bindings/interface/
DSBDebugger.i262 lldb::SBError& sb_error);