[WebAssembly] Remove DataSize from linking metadata section
commite14b24839ceb882cda91c27778f305672a217286
authorSam Clegg <sbc@chromium.org>
Tue, 27 Feb 2018 23:57:37 +0000 (27 23:57 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 27 Feb 2018 23:57:37 +0000 (27 23:57 +0000)
treeeee5074623de88cfc5e03e31bea50f7cf60428d5
parent6981292f43e0e4fb68d826a3582c1e389f01672b
[WebAssembly] Remove DataSize from linking metadata section

Neither the linker nor the runtime need this information
anymore.  We were originally using this to model BSS size
but the plan is now to use the segment metadata to allow
for BSS segments.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326267 91177308-0d34-0410-b5e6-96231b3b80d8
24 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
test/MC/WebAssembly/comdat.ll
test/MC/WebAssembly/explicit-sections.ll
test/MC/WebAssembly/global-ctor-dtor.ll
test/MC/WebAssembly/unnamed-data.ll
test/MC/WebAssembly/visibility.ll
test/MC/WebAssembly/weak-alias.ll
test/MC/WebAssembly/weak.ll
test/Object/obj2yaml.test
test/ObjectYAML/wasm/linking_section.yaml
test/ObjectYAML/wasm/weak_symbols.yaml
test/tools/llvm-nm/wasm/exports.yaml
test/tools/llvm-nm/wasm/imports.yaml
test/tools/llvm-nm/wasm/weak-symbols.yaml
test/tools/llvm-readobj/sections.test
tools/llvm-readobj/WasmDumper.cpp
tools/obj2yaml/wasm2yaml.cpp
tools/yaml2obj/yaml2wasm.cpp