This is an archive of the discontinued LLVM Phabricator instance.

[lld-link] Tweak winsysroottest.test to have passing links on happy path
ClosedPublic

Authored by thakis on Mar 13 2022, 8:18 AM.

Details

Summary

Previously, the test checked for a "undefined symbol" error
(instead of the "could not open std*.lib" which would happen without
the flag).

Instead, use /entry: so that the link succeeds.

No behavior change, but maybe makes the test a bit easier to understand.

Diff Detail

Event Timeline

thakis created this revision.Mar 13 2022, 8:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2022, 8:18 AM
thakis requested review of this revision.Mar 13 2022, 8:18 AM
hans accepted this revision.Mar 14 2022, 7:43 AM

lgtm

This revision is now accepted and ready to land.Mar 14 2022, 7:43 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 7:44 AM