================
@@ -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;
----------------
rocallahan wrote:

OK, let me gently disagree about this :-). In terms of code complexity, adding 
a call to `Process::CanReverseContinue()` is a tiny bit more complex than not 
having it. In terms of performance, I don't think it's important to make it a 
tiny bit faster to report that reverse-continue is not supported. Is there some 
other consideration?

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