[Lldb-commits] [lldb] [lldb] Implement basic support for reverse-continue (PR #112079)
Robert O'Callahan via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 11 02:02:16 PST 2024
rocallahan wrote:
Giving ThreadPlans a direction gets complicated when there are multiple runnable threads, because the topmost plans for different runnable threads could disagree about the execution direction, which is obviously unworkable. In my experimental branch I linked above, I resolve this by defaulting to forward execution if there's a disagreement and popping reverse-execution plans from runnable threads until all the topmost plans agree on forward execution. But this means that reverse-continue has to push a `ThreadPlanReverseContinue` onto all threads' plan stacks. So when the reverse-continue is over we really need to pop those `ThreadPlanReverseContinue`s from all threads.
https://github.com/llvm/llvm-project/pull/112079
More information about the lldb-commits
mailing list