sanitizer_common: add deadlock detection to the Mutex2
Copy internal deadlock detector from tsan to sanitizer_common (with some cosmetic changes). Tsan version will be deleted in subsequent changes. This allows us to switch tsan to the sanitizer_common mutex and remove tsan's mutex. Reviewed By: vitalybuka, melver Differential Revision: https://reviews.llvm.org/D106546
Loading
Please sign in to comment