[WebAssembly] Add support for naming wasm data segments
authorSam Clegg <sbc@chromium.org>
Tue, 19 Sep 2017 23:00:57 +0000 (23:00 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 19 Sep 2017 23:00:57 +0000 (23:00 +0000)
commitb292c259665df700442f47f430d0e4b4edd818cb
tree9f1cdf736c1460806311eca8b11e7bd436192b4a
parent15fccf00097dd5b07710539fb4e3ff68c50f44de
[WebAssembly] Add support for naming wasm data segments

Add adds support for naming data segments.  This is useful
useful linkers so that they can merge similar sections.

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

llvm-svn: 313692
14 files changed:
llvm/include/llvm/BinaryFormat/Wasm.h
llvm/include/llvm/ObjectYAML/WasmYAML.h
llvm/lib/MC/WasmObjectWriter.cpp
llvm/lib/Object/WasmObjectFile.cpp
llvm/lib/ObjectYAML/WasmYAML.cpp
llvm/test/MC/WebAssembly/array-fill.ll
llvm/test/MC/WebAssembly/bss.ll [new file with mode: 0644]
llvm/test/MC/WebAssembly/explicit-sections.ll
llvm/test/MC/WebAssembly/unnamed-data.ll
llvm/test/MC/WebAssembly/weak-alias.ll
llvm/test/tools/llvm-readobj/sections.test
llvm/tools/llvm-readobj/WasmDumper.cpp
llvm/tools/obj2yaml/wasm2yaml.cpp
llvm/tools/yaml2obj/yaml2wasm.cpp