[all-commits] [llvm/llvm-project] 9ea3bd: tsan: add test for __cxa_atexit

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Nov 25 23:00:41 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ea3bd5a1ccec785563faf82e08f6d9d6cb1ec0b
      https://github.com/llvm/llvm-project/commit/9ea3bd5a1ccec785563faf82e08f6d9d6cb1ec0b
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

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

  Log Message:
  -----------
  tsan: add test for __cxa_atexit

Add a test for a common C++ bug when a global object is destroyed
while background threads still use it.

Depends on D114604.

Reviewed By: vitalybuka, melver

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




More information about the All-commits mailing list