Page MenuHomePhabricator

[LLD] [MinGW] Correct handling of a few options
ClosedPublic

Authored by mstorsjo on Sun, Aug 11, 1:55 PM.

Details

Summary

Support the equals form of the long --entry=<symbol> option, add a test for the -e<symbol> form.

Add tests for single dash forms of -exclude-all-symbols and -export-all-symbols.

Support single-dash forms of -out-implib and -output-def, support the equals form of --output-def=<file>. (We previously had a test to explicitly disallow -out-implib, but it turns out that GNU ld actually does support it just fine, despite also matching the -o<file> option.)

Disallow the double-dashed --u form, add a test for -u<symbol>.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Sun, Aug 11, 1:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptSun, Aug 11, 1:55 PM
rnk accepted this revision.Tue, Aug 13, 12:16 PM

lgtm

This revision is now accepted and ready to land.Tue, Aug 13, 12:16 PM
This revision was automatically updated to reflect the committed changes.