[Lldb-commits] [lldb] [lldb] Fix use after free on ModuleList::RemoveSharedModuleIfOrphaned (PR #155331)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 11 13:46:36 PDT 2025
JDevlieghere wrote:
We discussed this offline today. I should've been less terse in explaining my idea, which is to use weak pointers all the way down, lock it just before we're going to remove it to create a critical section, account for the increase in refcount, and then release the pointer. Augusto seems on both and was going to give that a go.
https://github.com/llvm/llvm-project/pull/155331
More information about the lldb-commits
mailing list