[PATCH] D67736: [WebAssembly] Sort output data sections to place .bss last
Thomas Lively via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 15:31:21 PDT 2019
tlively created this revision.
tlively added a reviewer: sbc100.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.
Herald added a project: LLVM.
This was always the intended behavior, but had not been
implemented. This ordering is important for Emscripten when generating
.mem files while compiling to JS, since only zeros at the end of
initialized memory can be dropped.
Fixes https://github.com/emscripten-core/emscripten/issues/8999
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D67736
Files:
lld/test/wasm/data-layout.ll
lld/test/wasm/data-segment-merging.ll
lld/test/wasm/data-segments.ll
lld/test/wasm/reloc-addend.ll
lld/test/wasm/relocatable.ll
lld/test/wasm/tls-align.ll
lld/test/wasm/tls.ll
lld/wasm/OutputSegment.h
lld/wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67736.220761.patch
Type: text/x-patch
Size: 25991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190918/94b8a603/attachment-0001.bin>
More information about the llvm-commits
mailing list