]> granicus.if.org Git - llvm/commit
[WebAssembly] Add data size and alignement to linking section
authorSam Clegg <sbc@chromium.org>
Tue, 27 Jun 2017 20:27:59 +0000 (20:27 +0000)
committerSam Clegg <sbc@chromium.org>
Tue, 27 Jun 2017 20:27:59 +0000 (20:27 +0000)
commit49ab5d599222f7dd82c73e09d5a420c7c640ac59
tree8270e094f214eaa7fb722e8dd61a85b1b6bba433
parentf4a2d1d749c9a9cc2c358028ae3aefe6f338339c
[WebAssembly] Add data size and alignement to linking section

The overal size of the data section (including BSS)
is otherwise not included in the wasm binary.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306459 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
include/llvm/BinaryFormat/Wasm.h
include/llvm/Object/Wasm.h
include/llvm/ObjectYAML/WasmYAML.h
lib/MC/WasmObjectWriter.cpp
lib/Object/WasmObjectFile.cpp
lib/ObjectYAML/WasmYAML.cpp
test/MC/WebAssembly/unnamed-data.ll
test/MC/WebAssembly/weak-alias.ll
test/MC/WebAssembly/weak.ll
test/ObjectYAML/wasm/weak_symbols.yaml
test/tools/llvm-nm/wasm/weak-symbols.yaml
tools/obj2yaml/wasm2yaml.cpp
tools/yaml2obj/yaml2wasm.cpp