Files
llvm/lldb/source/Breakpoint/BreakpointLocationCollection.cpp
Jonas Devlieghere 97d50b5c8a [lldb] Fix crash in BreakpointSite::BumpHitCounts (#166876)
Fix crash in `BreakpointSite::BumpHitCounts` due to missing
synchronization. When bumping the hit count, we were correctly acquiring
the constituents mutex, but didn't protect the breakpoint location
collection. This PR fixes the issue by making the iterator returned by
the collection a `LockingAdaptedIterable`.

rdar://163760832
2025-11-10 15:35:11 -08:00

7.7 KiB