[all-commits] [llvm/llvm-project] d9afba: tsan: extend MutexSet to memorize mutex address/st...
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Thu Aug 12 04:18:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9afba9000a73ea4b800cb748114c821a2ca0394
https://github.com/llvm/llvm-project/commit/d9afba9000a73ea4b800cb748114c821a2ca0394
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-08-12 (Thu, 12 Aug 2021)
Changed paths:
M compiler-rt/lib/tsan/rtl/tsan_mutexset.cpp
M compiler-rt/lib/tsan/rtl/tsan_mutexset.h
Log Message:
-----------
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
More information about the All-commits
mailing list