[all-commits] [llvm/llvm-project] 022439: sanitizer_common: add deadlock detection to the Mu...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Jul 23 00:12:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 022439931f5be77efaf80b44d587666b0c9b13b5
      https://github.com/llvm/llvm-project/commit/022439931f5be77efaf80b44d587666b0c9b13b5
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_mutex.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_mutex.h

  Log Message:
  -----------
  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




More information about the All-commits mailing list