[PATCH] D42511: [WebAssembly] Add support for --gc-sections

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 28 12:39:54 PST 2018


sbc100 added a comment.

One decision I'm not sure about is whether to default to --gc-section in the linker or have the clang driver pass it by default.  @dschuff, what do you think about this?   I think for -fdata-section and -ffunction-sections we redundantly set them on by default and also have the driver pass them too.  I'd rather do just one or the other.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42511





More information about the llvm-commits mailing list