MutexSet is too large to be allocated on stack.
But we need local MutexSet objects in few places
and use various hacks to allocate them.
Add DynamicMutexSet helper that simplifies allocation
of such objects.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rG1b348902ea86: tsan: add DynamicMutexSet helper
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/tsan/rtl/tsan_mutexset.h | ||
---|---|---|
76 | Can it safely be copied/assigned? If not, maybe delete copy/assign ops. |
Can it safely be copied/assigned? If not, maybe delete copy/assign ops.