[Lldb-commits] [lldb] [lldb] Allow forks to occur in expression evaluation (PR #184815)
Philip DePetro via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 16 07:49:21 PDT 2026
pdepetro wrote:
The way this is currently written, if the fork comes from an expression, we ignore the follow mode and follow the parent; which perhaps isn't ideal, but seems very reasonable.
The issue, as I understand it, is that if we're running an expression which doesn't fork, and during the processing of that expression another thread forks (with follow child), then the expression would not unwind properly. I don't think this behavior is affected (for better or worse) by my changes.
I can try follow up with a larger redesign, that would support the follow-both mode and address that edge case, but do I need do that before landing this change?
https://github.com/llvm/llvm-project/pull/184815
More information about the lldb-commits
mailing list