Page MenuHomePhabricator

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

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



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


Event Timeline

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


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