[all-commits] [llvm/llvm-project] 0e2585: [tsan] Add pthread_cond_clockwait interceptor

Vitaly Buka via All-commits all-commits at lists.llvm.org
Wed Nov 18 14:39:49 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e2585c8042bd6ce4eca1333c64234adac7487f2
      https://github.com/llvm/llvm-project/commit/0e2585c8042bd6ce4eca1333c64234adac7487f2
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
    M compiler-rt/test/lit.common.cfg.py
    A compiler-rt/test/tsan/Linux/clockwait_double_lock.c

  Log Message:
  -----------
  [tsan] Add pthread_cond_clockwait interceptor

Disable the test on old systems.
pthread_cond_clockwait is supported by glibc-2.30.
It also supported by Android api 30 even though we
do not run tsan on Android.

Fixes https://github.com/google/sanitizers/issues/1259

Reviewed By: dvyukov




More information about the All-commits mailing list