It's an extension to ld64, but all the other ports have it, and
someone asked for it in PR43721.
While here, change the COFF help text to match the other ports.
Paths
| Differential D93491
[lld/mac] Add --version flag ClosedPublic Authored by thakis on Dec 17 2020, 1:31 PM.
Details
Summary It's an extension to ld64, but all the other ports have it, and While here, change the COFF help text to match the other ports.
Diff Detail Event Timelineint3 added inline comments.
Comment Actions Thanks!
int3 added inline comments. This revision is now accepted and ready to land.Dec 22 2020, 6:37 PM Closed by commit rG77fb45e59e49: [lld/mac] Add --version flag (authored by thakis). · Explain WhyDec 22 2020, 7:06 PM This revision was automatically updated to reflect the committed changes. rupprecht added inline comments.
Revision Contents
Diff 312606 lld/COFF/Options.td
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/test/MachO/driver.test
|
I assume that -- unlike for -v -- we're intentionally not printing out the library/framework search paths for --version... could we update the help text to indicate how -v differs? Also, how about handling OPT_version here, next to OPT_v, just to co-locate similar logic?