Reland "[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)" (#97092)
This reverts commit a2e3af5d58 and solves
the build error in
https://lab.llvm.org/buildbot/#/builders/141/builds/369.
Signed-off-by: Med Ismail Bennani <ismail@bennani.ma>
This commit is contained in:
1 parent
72c801f843
commit
6cb45aea92
10 files changed
+32
-32
No files matched your search
+4
-4
@@ -91,15 +91,15 @@ lldb::StateType ScriptedThreadPlanPythonInterface::GetRunState() {
|
||||
static_cast<uint32_t>(lldb::eStateStepping)));
|
||||
}
|
||||
|
||||
llvm::Expected<bool>
|
||||
ScriptedThreadPlanPythonInterface::GetStopDescription(lldb_private::Stream *s) {
|
||||
llvm::Error
|
||||
ScriptedThreadPlanPythonInterface::GetStopDescription(lldb::StreamSP &stream) {
|
||||
Status error;
|
||||
Dispatch("stop_description", error, s);
|
||||
Dispatch("stop_description", error, stream);
|
||||
|
||||
if (error.Fail())
|
||||
return error.ToError();
|
||||
|
||||
return true;
|
||||
return llvm::Error::success();
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user