This is an archive of the discontinued LLVM Phabricator instance.

Rename option -icf MODE to --icf=MODE
ClosedPublic

Authored by gkm on Jun 18 2021, 9:42 AM.

Details

Reviewers
int3
thakis
Group Reviewers
Restricted Project
Commits
rG8120c9e379c7: Rename option -icf MODE to --icf=MODE
Summary

The icf command-line option is not present in ld64, so it should use the LLD option syntax, which begins with double dashes and separates primary option from any suboption with the equal sign.

Diff Detail

Event Timeline

gkm created this revision.Jun 18 2021, 9:42 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: dang. · View Herald Transcript
gkm requested review of this revision.Jun 18 2021, 9:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2021, 9:42 AM
thakis accepted this revision.Jun 18 2021, 9:43 AM
thakis added a subscriber: thakis.

Thanks!

lld/MachO/Driver.cpp
715

/me idly wonders if we should do something like this with for --deduplicate-literals + -no_deduplicate as well

This revision is now accepted and ready to land.Jun 18 2021, 9:43 AM
This revision was landed with ongoing or failed builds.Jun 18 2021, 9:53 AM
This revision was automatically updated to reflect the committed changes.