[all-commits] [llvm/llvm-project] 569784: tsan: add another test for atomics

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Jul 29 07:43:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5697841f66cee81ef58a0d7cb22e5820206c24c6
      https://github.com/llvm/llvm-project/commit/5697841f66cee81ef58a0d7cb22e5820206c24c6
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    A compiler-rt/test/tsan/atomic_norace2.cpp

  Log Message:
  -----------
  tsan: add another test for atomics

Add a test where atomic-release happens while
another thread spins calling load-acquire.
This can expose some interesting interleavings
of release and acquire.

Reviewed By: melver

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




More information about the All-commits mailing list