unlock corrupted backets by using s set by loop to nullptr.
Also StackDepot supports iterating without locking.
Details
Details
- Reviewers
eugenis dvyukov - Commits
- rGb4db2a500dca: [sanitizer] Fix StackDepotPrintAll
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
LGTM with a nit
compiler-rt/lib/sanitizer_common/sanitizer_stackdepotbase.h | ||
---|---|---|
183 | Strictly speaking this must be memory_order_consume if we remove the lock. |
Strictly speaking this must be memory_order_consume if we remove the lock.