Revert "[lldb/Interpreter] Discard ScriptedThreadPlan::GetStopDescription return value (#96985)"
This reverts commit 1130e923e2.
Very likely causes build problems on Windows and with LLVM_NO_DEAD_STRIP=ON,
see https://github.com/llvm/llvm-project/pull/96985#pullrequestreview-2147599208
This commit is contained in:
1 parent
d893ed7871
commit
a2e3af5d58
9 files changed
+32
-28
No files matched your search
+4
-4
@@ -91,15 +91,15 @@ lldb::StateType ScriptedThreadPlanPythonInterface::GetRunState() {
|
||||
static_cast<uint32_t>(lldb::eStateStepping)));
|
||||
}
|
||||
|
||||
llvm::Error
|
||||
ScriptedThreadPlanPythonInterface::GetStopDescription(lldb::StreamSP &stream) {
|
||||
llvm::Expected<bool>
|
||||
ScriptedThreadPlanPythonInterface::GetStopDescription(lldb_private::Stream *s) {
|
||||
Status error;
|
||||
Dispatch("stop_description", error, stream);
|
||||
Dispatch("stop_description", error, s);
|
||||
|
||||
if (error.Fail())
|
||||
return error.ToError();
|
||||
|
||||
return llvm::Error::success();
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user