]> granicus.if.org Git - clang/commit
[WebAssembly] Don't pass -ffunction-section/-fdata-sections
authorSam Clegg <sbc@chromium.org>
Wed, 31 Jan 2018 18:55:22 +0000 (18:55 +0000)
committerSam Clegg <sbc@chromium.org>
Wed, 31 Jan 2018 18:55:22 +0000 (18:55 +0000)
commit317550fcfa3038e7d2f4b54c8339b9dc70be5edb
treebc928768536f3acf53473b4f0d55c81166e2896d
parent8605c2bfe11940f4336dc2c8176fa588ab1e2059
[WebAssembly] Don't pass -ffunction-section/-fdata-sections

llvm currently forces both of these to true to passing them
is redundant.

Differential Revision: https://reviews.llvm.org/D37831

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323897 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/CommonArgs.cpp
test/Driver/wasm-toolchain.c
test/Driver/wasm-toolchain.cpp