Add missing includes and use SYS_pipe2 instead of SYS_pipe
as it's not present on some arches.
Details
Details
- Reviewers
- vitalybuka 
- Commits
- rG1dc838717a29: tsan: fix syscall test on aarch64
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D102311  
tsan: fix syscall test on aarch64 ClosedPublic Authored by dvyukov on May 11 2021, 11:55 PM. 
Details 
 Summary Add missing includes and use SYS_pipe2 instead of SYS_pipe 
Diff Detail 
 Event TimelineThis revision was not accepted when it landed; it landed in state Needs Review.May 12 2021, 12:01 AM This revision was landed with ongoing or failed builds. Closed by commit rG1dc838717a29: tsan: fix syscall test on aarch64 (authored by dvyukov).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 344688 compiler-rt/test/tsan/Linux/syscall.h
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||