[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
Tue Apr 29 07:01:47 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:
https://github.com/llvm/llvm-project/commit/65b0d21eb490aaa0c742739ce95b1acc654be22b
https://github.com/llvm/llvm-project/pull/137351
More information about the lldb-commits
mailing list