[all-commits] [llvm/llvm-project] d53abf: sanitizer_common: fix deadlock detector output

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Oct 26 07:12:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d53abf834c4fde7a904b9cb7b1913ee38c768f21
      https://github.com/llvm/llvm-project/commit/d53abf834c4fde7a904b9cb7b1913ee38c768f21
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

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

  Log Message:
  -----------
  sanitizer_common: fix deadlock detector output

Print PC of the previous lock, not the current one.
The current one will be printed during unwind.

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D112533




More information about the All-commits mailing list