This is an archive of the discontinued LLVM Phabricator instance.

tsan: fix fork syscall test
ClosedPublic

Authored by dvyukov on Apr 30 2021, 1:21 AM.

Details

Summary

Arm64 builders failed with:
error: use of undeclared identifier 'SYS_fork'
https://lab.llvm.org/buildbot/#/builders/7/builds/2575

Indeed, not all arches have fork syscall.
Implement fork via clone on these arches.

Diff Detail

Event Timeline

dvyukov created this revision.Apr 30 2021, 1:21 AM
dvyukov requested review of this revision.Apr 30 2021, 1:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 30 2021, 1:21 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
This revision was not accepted when it landed; it landed in state Needs Review.Apr 30 2021, 1:23 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.