This is an archive of the discontinued LLVM Phabricator instance.

Warn on /align if used without /driver
ClosedPublic

Authored by ruiu on Nov 12 2019, 10:17 PM.

Details

Summary

/align is not supposed to be used without /driver, so it makes
sense to warn if only /align is passed. MSVC link.exe warns on
this too.

Diff Detail

Event Timeline

ruiu created this revision.Nov 12 2019, 10:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2019, 10:17 PM
thakis accepted this revision.Nov 12 2019, 11:09 PM
This revision is now accepted and ready to land.Nov 12 2019, 11:09 PM
thakis added inline comments.Nov 12 2019, 11:10 PM
lld/test/COFF/align.s
2

Want to add /driver to the "normal" test?

This revision was automatically updated to reflect the committed changes.