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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to