This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by mstorsjo on Aug 11 2019, 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.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

lgtm

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.