[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 10 16:58:03 PST 2024
================
@@ -236,11 +236,18 @@ ProcessWindows::DoAttachToProcessWithID(lldb::pid_t pid,
return error;
}
-Status ProcessWindows::DoResume() {
+Status ProcessWindows::DoResume(RunDirection direction) {
Log *log = GetLog(WindowsLog::Process);
llvm::sys::ScopedLock lock(m_mutex);
Status error;
+ if (direction == RunDirection::eRunReverse) {
----------------
jimingham wrote:
It might be nicer to have a Process::SupportsReverseContinue, then we could check this in PrivateResume before calling DoResume. That seems more natural than having each plugin return an error in their DoResume.
https://github.com/llvm/llvm-project/pull/112079
More information about the lldb-commits
mailing list