This is an archive of the discontinued LLVM Phabricator instance.

lld-link: Emit a warning if one of {main,wmain} and {WinMain,wWinMain} are both present and no explicit /subsystem: flag is passed.
ClosedPublic

Authored by thakis on Aug 21 2018, 5:33 PM.

Details

Reviewers
ruiu
Summary

Similar to link.exe's LNK4031.

Diff Detail

Event Timeline

thakis created this revision.Aug 21 2018, 5:33 PM
ruiu accepted this revision.Aug 22 2018, 12:00 AM

LGTM

This revision is now accepted and ready to land.Aug 22 2018, 12:00 AM
thakis closed this revision.Aug 22 2018, 9:48 AM

r340420, thanks!