[lld/mac] Add --version flag
authorNico Weber <thakis@chromium.org>
Tue, 22 Dec 2020 20:51:20 +0000 (15:51 -0500)
committerNico Weber <thakis@chromium.org>
Wed, 23 Dec 2020 03:06:39 +0000 (22:06 -0500)
commit77fb45e59e49d25fbc57854b62599ae24aa2c4c9
treee0661cbaa8ba3ee82320ac0846622c1b99c16a00
parent8bf9cdeaee4834bcba35322f1d84c57c691d2244
[lld/mac] Add --version flag

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.

Differential Revision: https://reviews.llvm.org/D93491
lld/COFF/Options.td
lld/MachO/Driver.cpp
lld/MachO/Options.td
lld/test/MachO/driver.test