[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)

Robert O'Callahan via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 17 18:10:41 PST 2024


================
@@ -583,6 +583,14 @@ SBError SBProcess::Continue() {
   return sb_error;
 }
 
+SBError SBProcess::ContinueInDirection(RunDirection direction) {
+  ProcessSP process_sp(GetSP());
+  if (process_sp) {
+    process_sp->SetBaseDirection(direction);
+  }
----------------
rocallahan wrote:

It needs to be `if (ProcessSP process_sp = GetSP())`. Done.

https://github.com/llvm/llvm-project/pull/112079


More information about the lldb-commits mailing list