[Lldb-commits] [lldb] [lldb] Use Policy for ProcessRunLock re-entrancy (PR #195774)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Thu May 21 18:14:06 PDT 2026


https://github.com/JDevlieghere commented:

I'm starting to wonder if the Policy is really the best way to handle this. If the issue this is solving is to make ProcessRunLock recursive on the read side per-thread, then maybe a `thread_local SmallDenseMap<ProcessRunLock*, unsigned>` would be a much simpler solution?

https://github.com/llvm/llvm-project/pull/195774


More information about the lldb-commits mailing list