[all-commits] [llvm/llvm-project] bc84b2: tsan: enable clone interceptor only on Linux

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Nov 11 10:28:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc84b2857f5bd1550f0be4b0961d6a3ebecfa15d
      https://github.com/llvm/llvm-project/commit/bc84b2857f5bd1550f0be4b0961d6a3ebecfa15d
  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/Linux/clone_deadlock.cpp
    R compiler-rt/test/tsan/clone_deadlock.cpp

  Log Message:
  -----------
  tsan: enable clone interceptor only on Linux

Clone does not exist on Mac.
There are chances it will break on other OSes.
Enable it incrementally starting with Linux only,
other OSes can enable it later as needed.

Reviewed By: melver, thakis

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




More information about the All-commits mailing list