[PATCH] D39541: [LLD] [MinGW] Ignore the -s parameter

Shoaib Meenai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 08:34:41 PDT 2017


smeenai added a comment.

lld-link will include debug info sections in the linked binary if you pass `-debug` (and you probably also want to pass `-nopdb` to prevent PDB emission if you're using DWARF). Perhaps you should make the MinGW driver pass those two options by default and then not pass them if `-s` is passed to it?


https://reviews.llvm.org/D39541





More information about the llvm-commits mailing list