[WebAssembly] Remove "name" section of object wasm object files
authorSam Clegg <sbc@chromium.org>
Tue, 23 Jan 2018 18:30:04 +0000 (18:30 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 23 Jan 2018 18:30:04 +0000 (18:30 +0000)
commit68b425f0bf81240138206bcc1114cab9c968ce45
treed16eb74b92c8e4d2b0aa8c884235292f816bf29c
parentae3e934bd688f572f70493c3c432bad655b3f6ab
[WebAssembly] Remove "name" section of object wasm object files

LLD is unaffected, no changes needed there. LLD continues to
write out a name section, using the symbol names.

Fixes: https://github.com/WebAssembly/tool-conventions/issues/37

Patch by Nicholas Wilson!

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

llvm-svn: 323234
llvm/lib/MC/WasmObjectWriter.cpp
llvm/test/MC/WebAssembly/comdat.ll
llvm/test/MC/WebAssembly/global-ctor-dtor.ll
llvm/test/MC/WebAssembly/sections.ll
llvm/test/MC/WebAssembly/visibility.ll
llvm/test/MC/WebAssembly/weak-alias.ll
llvm/test/MC/WebAssembly/weak.ll