[all-commits] [llvm/llvm-project] 69807f: tsan: change ReportMutex::id type to int

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Dec 21 02:37:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69807fe1616430eeba943cdadbb6eb4492e6fc1e
      https://github.com/llvm/llvm-project/commit/69807fe1616430eeba943cdadbb6eb4492e6fc1e
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-12-21 (Tue, 21 Dec 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_report.cpp
    M compiler-rt/lib/tsan/rtl/tsan_report.h
    M compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp

  Log Message:
  -----------
  tsan: change ReportMutex::id type to int

We used to use u64 as mutex id because it was some
tricky identifier built from address and reuse count.
Now it's just the mutex index in the report (0, 1, 2...),
so use int to represent it.

Depends on D112603.

Reviewed By: melver

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




More information about the All-commits mailing list