[all-commits] [llvm/llvm-project] a68b52: tsan: add another fork deadlock test

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Nov 24 04:26:07 PST 2021


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

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

  Log Message:
  -----------
  tsan: add another fork deadlock test

The test tries to provoke internal allocator to be locked during fork
and then force the child process to use the internal allocator.
This test sometimes deadlocks with the new tsan runtime.

Depends on D114514.

Reviewed By: melver

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




More information about the All-commits mailing list