diff options
author | Thomas Lively <tlively@google.com> | 2019-09-19 01:14:59 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-09-19 01:14:59 +0000 |
commit | 21143b93a6ee1121b96ee7f4a75ee542580ba57c (patch) | |
tree | c8b1acb01f87d645a6087338ce9276797be60bc6 /llvm/lib/CodeGen/SelectionDAG | |
parent | 98a57332ef0e4b859e74a3a43f7f31e9ff1683e0 (diff) | |
download | bcm5719-llvm-21143b93a6ee1121b96ee7f4a75ee542580ba57c.tar.gz bcm5719-llvm-21143b93a6ee1121b96ee7f4a75ee542580ba57c.zip |
[WebAssembly] Sort output data sections to place .bss last
Summary:
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
Reviewers: sbc100
Subscribers: dschuff, jgravelle-google, aheejin, sunfish, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D67736
llvm-svn: 372284
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
0 files changed, 0 insertions, 0 deletions