[Lldb-commits] [lldb] Fix a crash when a stop hook deletes itself in its callback. (PR #160416)
Alex Langford via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 7 09:47:55 PST 2025
bulbazord wrote:
> This dropped off my queue somehow. In that time, in the process of adding support for internal stop hooks, the iteration over stop hooks was changed so that first we build a list of the "active stop hooks" and then only iterate over those when running the hooks. That has the same effect as this patch of iterating over a copy, not over the ivar list, and thus always iterating over the whole set of hooks valid at the time we stopped.
That is to say, this patch is now purely documentative? I looked at the changes and my approval still stands.
https://github.com/llvm/llvm-project/pull/160416
More information about the lldb-commits
mailing list