This is an archive of the discontinued LLVM Phabricator instance.

Fix macos target assumption in test
ClosedPublic

Authored by thopre on Jan 11 2021, 2:04 AM.

Details

Summary

Clang test Driver/macos-apple-silicon-slice-link-libs-darwin-only.cpp
assumes the target is darwin when the host is darwin which is not
necessarily the case, causing the test to fail when it is not. This
commit adds a -triple argument to the clang invocation to ensure the
target is darwin.

Diff Detail

Event Timeline

thopre requested review of this revision.Jan 11 2021, 2:04 AM
thopre created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2021, 2:04 AM
hans accepted this revision.Jan 29 2021, 2:02 AM
This revision is now accepted and ready to land.Jan 29 2021, 2:02 AM
This revision was automatically updated to reflect the committed changes.