[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #99736)
Robert O'Callahan via lldb-commits
lldb-commits at lists.llvm.org
Sat Jul 20 05:43:14 PDT 2024
================
@@ -0,0 +1,12 @@
+static void start_recording() {}
+
+static void trigger_breakpoint() {}
+
+static void stop_recording() {}
----------------
rocallahan wrote:
None of that functionality interacts with reverse execution, so I don't think we need to test it in combination with reverse execution in LLDB. For most purposes reverse execution behaves just like forward execution from LLDB's point of view: there's a stop, then LLDB reads the new target state (memory and registers, mainly) to display information to the user.
(There are certainly issues that aren't covered here, e.g. handling the creation and destruction of threads, handling the loading and unloading of shared libraries, and handling watchpoints all interact with reverse execution. I plan to address some of these issues in future work, with their own tests. I'm trying to keep this PR as minimal as possible.)
https://github.com/llvm/llvm-project/pull/99736
More information about the lldb-commits
mailing list