[PATCH] D117412: [lld][WebAssembly] Perform data relocations during start function
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 15 18:10:25 PST 2022
sbc100 created this revision.
Herald added subscribers: wingo, ecnelises, sunfish, jgravelle-google, dschuff.
sbc100 requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.
We already perform memory initialization and apply global relocations
during start. It makes sense to performs data relocations too. I think
the reason we were not doing this already is solely historical.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117412
Files:
lld/test/wasm/data-segments.ll
lld/test/wasm/pie.ll
lld/wasm/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117412.400333.patch
Type: text/x-patch
Size: 4060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220116/e16d5523/attachment.bin>
More information about the llvm-commits
mailing list