[all-commits] [llvm/llvm-project] 5dad3d: tsan: mark sigwait as blocking

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue May 11 21:56:36 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dad3d1ba9ad01152be21e94cfbbfb31659ea3e1
      https://github.com/llvm/llvm-project/commit/5dad3d1ba9ad01152be21e94cfbbfb31659ea3e1
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    A compiler-rt/test/tsan/signal_block2.cpp

  Log Message:
  -----------
  tsan: mark sigwait as blocking

Add a test case reported in:
https://github.com/google/sanitizers/issues/1401
and fix it.
The code assumes sigwait will process other signals.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list