[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 10 17:34:31 PST 2024
================
@@ -3265,18 +3275,25 @@ Status Process::PrivateResume() {
// (suspended/running/stepping). Threads should also check their resume
// signal in lldb::Thread::GetResumeSignal() to see if they are supposed to
// start back up with a signal.
- if (m_thread_list.WillResume()) {
+ RunDirection direction;
----------------
jimingham wrote:
I think it would be a lot cleaner to have Process::CanReverseContinue, and check that before WillResume or anything. If you are asked to go in reverse and it's not supported, we should do as little work as possible before returning an error.
https://github.com/llvm/llvm-project/pull/112079
More information about the lldb-commits
mailing list