[PATCH] D39541: [LLD] [MinGW] Output debug info by default, unless the -s parameter is passed
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 3 14:16:06 PDT 2017
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: MinGW/Options.td:27
def stack: S<"stack">;
+def s: Flag<["-"], "s">, HelpText<"Omit debug info from the output binary">;
def whole_archive: F<"whole-archive">,
----------------
ruiu wrote:
> Can you define --strip-all as a primary option and define -s as an alias to it, in order to avoid cryptic variable name OPT_s?
I think you want to use F instead of Flags because both -strip-all and --strip-all are valid.
https://reviews.llvm.org/D39541
More information about the llvm-commits
mailing list