================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to