This is an archive of the discontinued LLVM Phabricator instance.

[LLD] [MinGW] Ignore the --enable-auto-import flag
ClosedPublic

Authored by mstorsjo on Oct 26 2017, 3:40 AM.

Details

Summary

In GNU ld, this option is enabled by default, but can be set to reduce some warnings.

For lld, ignore the flag (for now); in case linking still succeeds everything should be fine, if not, it should be clear to the user what part failed (possibly requiring adjusting the user project to not rely on this feature), instead of straight out failing due to an unknown flag.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Oct 26 2017, 3:40 AM
ruiu accepted this revision.Oct 26 2017, 11:09 AM

LGTM

This revision is now accepted and ready to land.Oct 26 2017, 11:09 AM
This revision was automatically updated to reflect the committed changes.