4 Commits

Author SHA1 Message Date
Dave Lee
00e3885bf5
[lldb] Rename reverse-continue/TestReverseContinueNotSupported.py (NFC) (#137262)
Rename this test because another test by the same name already exists:
reverse-execution/TestReverseContinueNotSupported.py.

Having multiple tests of the same name breaks running any test with:
`lldb-dotest -p <TestName>`.

This tests reverse continue _commands_, and so the rename adds
"Commands" to the test name (TestReverseContinueCommandNotSupported.py)
2025-04-25 10:17:27 -07:00
David Spickett
332e181766
[lldb] Fix error that lead Windows to think it could reverse execute (#137351)
The new test added in https://github.com/llvm/llvm-project/pull/132783
was failing on Windows because it created a new error to say it did not
support the feature, but then returned the existing, default constructed
error. Which was a success value.

This also changes the GDBRemote error message to the same phrasing used
in all the other places so we don't have to special case any platform.
2025-04-25 18:04:08 +01:00
David Spickett
bcdafc107e [lldb] Disable reverse continue command test on Windows
The new test added in https://github.com/llvm/llvm-project/pull/132783
is timing out on our Windows on Arm bot
https://lab.llvm.org/buildbot/#/builders/141/builds/8149

Disable it there while I figure out the problem.
2025-04-24 12:16:29 +00:00
Robert O'Callahan
239718055d
[lldb] Implement CLI support for reverse-continue (#132783)
This introduces the options "-F/--forward" and "-R/--reverse" to
`process continue`.

These only work if you're running with a gdbserver backend that supports
reverse execution, such as rr. For testing we rely on the fake
reverse-execution functionality in `lldbreverse.py`.
2025-04-23 16:16:30 -07:00