[Lldb-commits] [lldb] [lldb] Fix error that lead Windows to think it could reverse execute (PR #137351)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 25 09:34:39 PDT 2025
================
@@ -239,15 +239,15 @@ ProcessWindows::DoAttachToProcessWithID(lldb::pid_t pid,
Status ProcessWindows::DoResume(RunDirection direction) {
Log *log = GetLog(WindowsLog::Process);
llvm::sys::ScopedLock lock(m_mutex);
- Status error;
if (direction == RunDirection::eRunReverse) {
- error.FromErrorStringWithFormatv(
+ return Status::FromErrorStringWithFormatv(
"error: {0} does not support reverse execution of processes",
----------------
DavidSpickett wrote:
There are a few of these, I'll fix them all in a follow up.
https://github.com/llvm/llvm-project/pull/137351
More information about the lldb-commits
mailing list