[all-commits] [llvm/llvm-project] 82de58: tsan: intercept clone

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Nov 11 09:56:07 PST 2021


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

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
    A compiler-rt/test/tsan/clone_deadlock.cpp

  Log Message:
  -----------
  tsan: intercept clone

gtest uses clone for death tests and it needs the same
handling as fork to prevent deadlock (take runtime mutexes
before and release them after).

Reviewed By: melver

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




More information about the All-commits mailing list