[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:05:31 PDT 2017
ruiu added inline comments.
================
Comment at: COFF/Options.td:74
def debug : F<"debug">, HelpText<"Embed a symbol table in the image">;
+def debug_dwarf : F<"debug:dwarf">;
def debugtype : P<"debugtype", "Debug Info Options">;
----------------
Move this to below "LLD extensions" comment in this file.
================
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">,
----------------
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?
https://reviews.llvm.org/D39541
More information about the llvm-commits
mailing list