[all-commits] [llvm/llvm-project] 24a62b: tsan: fix bug in shadow reset introduced in D128909

Than McIntosh via All-commits all-commits at lists.llvm.org
Fri Aug 5 08:38:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24a62bfe9a497bb494aae24e33f4d8349720a9c8
      https://github.com/llvm/llvm-project/commit/24a62bfe9a497bb494aae24e33f4d8349720a9c8
  Author: Than McIntosh <thanm at google.com>
  Date:   2022-08-05 (Fri, 05 Aug 2022)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp

  Log Message:
  -----------
  tsan: fix bug in shadow reset introduced in D128909

Correct a bug in the code that resets shadow memory introduced as part
of a previous change for the Go race detector (D128909). The bug was
that only the most recently added shadow segment was being reset, as
opposed to the entire extent of the segment created so far. This
fixes a bug identified in Google internal testing (b/240733951).

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




More information about the All-commits mailing list