[Lldb-commits] [lldb] [lldb] Add example differential debugging script (PR #191445)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 10 13:18:40 PDT 2026
jimingham wrote:
This does look useful. I don't think the python instruction for macOS are right, however.
This is not at all required, but if you structured this work so that the creating and running the targets was done in a python function with the right signature to be an lldb python command that filled in the return object with whether the command saw a divergence or not, you could both call it by hand in your stand-alone program, running the command function, and offering the "Continue to exit or kill", but also you could add the command to lldb, and run the command, so that when you caught the divergence, you would exit your command and the user would still be in lldb with both targets loaded and could poke around at the program state to see what was going on in more detail.
https://github.com/llvm/llvm-project/pull/191445
More information about the lldb-commits
mailing list