tsan: don't use pipe2 in tests
authorDmitry Vyukov <dvyukov@google.com>
Fri, 24 Sep 2021 15:48:48 +0000 (17:48 +0200)
committerDmitry Vyukov <dvyukov@google.com>
Fri, 24 Sep 2021 15:52:16 +0000 (17:52 +0200)
commit34412cea5c247e30e49958213df10dd8f128d7e5
tree4a2c005b65cfc53347ea6c42d8d870a74690dfd3
parentd8fc9f87270146e271eddd551ea98580bef15e82
tsan: don't use pipe2 in tests

MacOS buildbots failed:
stress.cpp:57:7: error: use of undeclared identifier 'pipe2'
https://green.lab.llvm.org/green//job/clang-stage1-RA/24209/consoleFull#-3468768778254eaf0-7326-4999-85b0-388101f2d404

Fix the test to not use pipe2.

Differential Revision: https://reviews.llvm.org/D110423
compiler-rt/test/tsan/stress.cpp