[PATCH] D112667: [lld][WebAssembly] Initialize bss segments using memory.fill
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 27 18:28:28 PDT 2021
sbc100 added a comment.
In D112667#3091990 <https://reviews.llvm.org/D112667#3091990>, @tlively wrote:
> Oh yeah, I guess we could only do this if bulk memory is enabled.
I think this works in all configurations now:
1. imported memory + bulk-memory feature: memory.init
2. imported memory - bulk-memory feature: include bss just like normal data
3. Non-imported memory: elide bss completely
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112667/new/
https://reviews.llvm.org/D112667
More information about the llvm-commits
mailing list