[all-commits] [llvm/llvm-project] bcc108: Fix tsan problem where the per-thread shared_ptr()...

Qiao Zhang via All-commits all-commits at lists.llvm.org
Fri Jan 27 09:57:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bcc10817d5569172ee065015747e226280e9b698
      https://github.com/llvm/llvm-project/commit/bcc10817d5569172ee065015747e226280e9b698
  Author: Qiao Zhang <zhangqiaorjc at google.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

  Changed paths:
    M mlir/include/mlir/Support/ThreadLocalCache.h

  Log Message:
  -----------
  Fix tsan problem where the per-thread shared_ptr() can be locked right before the cache is destroyed causing a race where it tries to remove an entry from a destroyed cache.

Reviewed By: rriddle

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




More information about the All-commits mailing list