[PATCH] D37831: [WebAssembly] Don't pass -ffunction-section/-fdata-sections

Dan Gohman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 08:47:58 PST 2018


sunfish accepted this revision.
sunfish added a comment.
This revision is now accepted and ready to land.

In https://reviews.llvm.org/D37831#871238, @dschuff wrote:

> I think the reasoning was really just that code size reduction is even more important on wasm than other platforms, and because it's a new ABI there's no one depending on the default behavior that would break.


I agree. Also, on some platforms, -ffunction-sections and -fdata-sections can result in less efficient code, however that's not the case on wasm.


Repository:
  rC Clang

https://reviews.llvm.org/D37831





More information about the cfe-commits mailing list