tsan: extend MutexSet to memorize mutex address/stack_id
We currently memorize u64 id + epoch for each mutex. The new tsan runtime will memorize address + stack_id instead. But switching to address + stack_id requires new trace, which in turn requires new MutexSet and some other changes. Extend MutexSet to support both new and old info to break the dependency cycles. The plan is to remove the old info/methods after switching to the new runtime. Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D107910
Loading
Please register or sign in to comment