[WebAssembly] Remove "name" section of object wasm object files
commit4fcde573baa8fe3280297830058281d2450691ed
authorSam Clegg <sbc@chromium.org>
Tue, 23 Jan 2018 18:30:04 +0000 (23 18:30 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 23 Jan 2018 18:30:04 +0000 (23 18:30 +0000)
tree34225e2ca8c37504e21dbfe35ed2cb24d26e9037
parente6dd7b2ff467a35c7bd4d542e94802dc86a961ae
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323234 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/WasmObjectWriter.cpp
test/MC/WebAssembly/comdat.ll
test/MC/WebAssembly/global-ctor-dtor.ll
test/MC/WebAssembly/sections.ll
test/MC/WebAssembly/visibility.ll
test/MC/WebAssembly/weak-alias.ll
test/MC/WebAssembly/weak.ll