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

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 23 09:47:13 PDT 2024


================
@@ -135,6 +135,9 @@ FLAGS_ENUM(LaunchFlags){
 /// Thread Run Modes.
 enum RunMode { eOnlyThisThread, eAllThreads, eOnlyDuringStepping };
 
+/// Execution directions
+enum RunDirection { eRunForward, eRunReverse };
+
----------------
clayborg wrote:

If we don't add an overload to continue by adding `SBProcess::ReverseContinue()` then this should be kept internal and not in this header file. If you add a new `SBProcess::Continue(lldb::RunDirection)` overload then this is needed. I would prefer a dedicated `SBProcess::ReverseContinue()` function. 

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


More information about the lldb-commits mailing list