This is an archive of the discontinued LLVM Phabricator instance.

[clang] [MinGW] Let the last of -mconsole/-mwindows have effect
ClosedPublic

Authored by mstorsjo on Aug 2 2021, 3:55 AM.

Details

Summary

Don't just check for the existence of one, but check which one was
specified last, if any.

This fixes https://llvm.org/PR51296.

Diff Detail

Event Timeline

mstorsjo requested review of this revision.Aug 2 2021, 3:55 AM
mstorsjo created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2021, 3:55 AM
mati865 accepted this revision.Aug 2 2021, 4:03 PM

LGTM

This revision is now accepted and ready to land.Aug 2 2021, 4:03 PM
This revision was landed with ongoing or failed builds.Aug 3 2021, 12:56 AM
This revision was automatically updated to reflect the committed changes.