FailedChanges

Summary

  1. tsan: add a simple syscall test (details)
  2. tsan: mark sigwait as blocking (details)
Commit 04b2ada51c90a76b153eedafd8d52a2649695a7f by dvyukov
tsan: add a simple syscall test

Add a simple test that uses syscall annotations.
Just to ensure at least basic functionality works.
Also factor out annotated syscall wrappers into a separate
header file as they may be useful for future tests.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D102223
The file was addedcompiler-rt/test/tsan/Linux/syscall.cpp
The file was addedcompiler-rt/test/tsan/Linux/syscall.h
The file was modifiedcompiler-rt/test/tsan/Linux/fork_syscall.cpp
Commit 5dad3d1ba9ad01152be21e94cfbbfb31659ea3e1 by dvyukov
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
The file was addedcompiler-rt/test/tsan/signal_block2.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc