[PATCH] D93491: [lld/mac] Add --version flag

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 22 19:05:07 PST 2020


thakis added a comment.

Thanks!



================
Comment at: lld/MachO/Options.td:513-515
 def v : Flag<["-"], "v">,
      HelpText<"Print the linker version">,
      Group<grp_rare>;
----------------
int3 wrote:
> thakis wrote:
> > int3 wrote:
> > > I think it'd make sense to put the flag here under `grp_rare`
> > Currently all the non-ld64 flags are up top under the `Flags that lld/MachO understands but ld64 doesn't` comment. Want to to add `Group<grp_rare>` up there?
> hmm I guess we can leave it as-is. maybe we should make a group specifically for lld-specific options?
I think that's a good idea.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93491/new/

https://reviews.llvm.org/D93491



More information about the llvm-commits mailing list