diff options
author | Sam Clegg <sbc@chromium.org> | 2021-02-10 10:11:52 -0800 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2021-02-11 10:54:15 -0800 |
commit | 70f3c6e9e6b8a0e5efc7cbf8997df32156ea9536 (patch) | |
tree | 731d7ffafc8860e9f17bbc6691fe0b8f15f748ba /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | a680bc3a31d36d321ccf3801bdcff74d58842bfa (diff) | |
download | llvm-70f3c6e9e6b8a0e5efc7cbf8997df32156ea9536.zip llvm-70f3c6e9e6b8a0e5efc7cbf8997df32156ea9536.tar.gz llvm-70f3c6e9e6b8a0e5efc7cbf8997df32156ea9536.tar.bz2 |
[lld][WebAssembly] Delay the merging of data section when dynamic linking
With dynamic linking we have the current limitation that there can be
only a single active data segment (since we use __memory_base as the
load address and we can't do arithmetic in constant expresions).
This change delays the merging of active segments until a little later
in the linking process which means that the grouping of data by section,
and the magic __start/__end symbols work as expected under dynamic
linking.
Differential Revision: https://reviews.llvm.org/D96453
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions