[PATCH] D37831: [WebAssembly] Don't pass -ffunction-section/-fdata-sections by default
Derek Schuff via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 13 16:03:08 PDT 2017
dschuff added a comment.
I guess the reason for removing this is that we don't really have an analogue of different text sections in the wasm object format, but that dead function stripping can be done by any linker smart enough to link wasm at all. But this isn't necessarily true of data sections though, is it?
Also I don't understand why removing the hardcoding on the LLVM side requires removing the explicit passing of the options here?
https://reviews.llvm.org/D37831
More information about the llvm-commits
mailing list