[PATCH] D41390: [WebAssembly] LLD: Don't write out discarded function symbols

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 10:29:06 PST 2018


sbc100 added a comment.

Actually I did an experiment with ELF and it looks like unused weak symbols are not stripped by default.  i.e. you need to use --gc-sections to achieve this.  So I think it makes sense for us to do the same (and --gc-sections will be the default for us).


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D41390





More information about the llvm-commits mailing list