[compiler-rt] 5dad3d1 - tsan: mark sigwait as blocking

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon May 17 03:01:53 PDT 2021


Hi,

> On May 12, 2021, at 05:56, Dmitry Vyukov via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> 
> Author: Dmitry Vyukov
> Date: 2021-05-12T06:56:18+02:00
> New Revision: 5dad3d1ba9ad01152be21e94cfbbfb31659ea3e1
> 
> URL: https://github.com/llvm/llvm-project/commit/5dad3d1ba9ad01152be21e94cfbbfb31659ea3e1
> DIFF: https://github.com/llvm/llvm-project/commit/5dad3d1ba9ad01152be21e94cfbbfb31659ea3e1.diff
> 
> LOG: 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
> 
> Added: 
>    compiler-rt/test/tsan/signal_block2.cpp
> 

The added test unfortunately does not terminate on some Darwin configurations and causes some bots on Green Dragon to fail.

First failure of the test started in
        http://green.lab.llvm.org/green/job/clang-stage1-RA/20767/

I reverted the change for now in 086af173998868239aaad7ffd1e79e38dcb2f850

Cheers,
Florian


More information about the llvm-commits mailing list