[PATCH] D13934: [ELF2] --strip-all/-s command line implemented

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 09:13:57 PDT 2015


davide added inline comments.

================
Comment at: ELF/Options.td:86
@@ +85,3 @@
+def strip_all : Flag<["--"], "strip-all">,
+  HelpText<"Omit all symbol information from the output file">;
+
----------------
grimar wrote:
> davide wrote:
> > Can't you just say "strip all symbols" as gold and ld do?
> I took it from man ld, but will replace if you wish.
This is what I see on FreeBSD. I would not deviate from that as it's shorter and captures the essence anyway (which I think is better for --help output)
davide at ganondorf:~ % /usr/local/bin/ld.bfd --help | grep strip-all
  -s, --strip-all             Strip all symbols
davide at ganondorf:~ % /usr/local/bin/ld.gold --help | grep strip-all
  -s, --strip-all             Strip all symbols

Thanks,
--
Davide


http://reviews.llvm.org/D13934





More information about the llvm-commits mailing list