OSDN Git Service

Reland "[WebAssembly] Add support for naming wasm data segments"
authorSam Clegg <sbc@chromium.org>
Wed, 20 Sep 2017 19:03:35 +0000 (19:03 +0000)
committerSam Clegg <sbc@chromium.org>
Wed, 20 Sep 2017 19:03:35 +0000 (19:03 +0000)
commit81e382442843a2cf146d54406b10af7129ad1d75
treeb1fcb22a11e1b6d11be63904f560a68436a62d05
parent686e2d6ca3c8af84017a74c53b5059504b73feea
Reland "[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313795 91177308-0d34-0410-b5e6-96231b3b80d8
14 files changed:
include/llvm/BinaryFormat/Wasm.h
include/llvm/ObjectYAML/WasmYAML.h
lib/MC/WasmObjectWriter.cpp
lib/Object/WasmObjectFile.cpp
lib/ObjectYAML/WasmYAML.cpp
test/MC/WebAssembly/array-fill.ll
test/MC/WebAssembly/bss.ll [new file with mode: 0644]
test/MC/WebAssembly/explicit-sections.ll
test/MC/WebAssembly/unnamed-data.ll
test/MC/WebAssembly/weak-alias.ll
test/tools/llvm-readobj/sections.test
tools/llvm-readobj/WasmDumper.cpp
tools/obj2yaml/wasm2yaml.cpp
tools/yaml2obj/yaml2wasm.cpp