[Lldb-commits] [lldb] [lldb] Improve locking in PathMappingLists (NFC) (PR #114576)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 1 15:05:43 PDT 2024


https://github.com/bulbazord commented:

It took me some time to read this and think about the implications, but I think this is generally okay. I left 1 comment about the order of lock acquisition for `operator=`.

The only way I can see this going wrong is if a callback can mutate the list in a way that triggers yet another callback? Not sure we should be too concerned about that right now though.

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


More information about the lldb-commits mailing list