[PATCH] D79137: [WebAssmebly] Add support for defined wasm in MC and lld
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 29 15:41:36 PDT 2020
sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, hiraditya, jgravelle-google, dschuff.
Herald added a project: LLVM.
This change add supprot for defined wasm globas in the .s format
and in the MC layer.
Currently there is no support custom initialization and all wasm
globals are initialized to zero.
Fixes: PR45742
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79137
Files:
lld/test/wasm/globals.s
lld/wasm/WriterUtils.cpp
llvm/include/llvm/BinaryFormat/Wasm.h
llvm/lib/MC/WasmObjectWriter.cpp
llvm/test/MC/WebAssembly/globals.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79137.261071.patch
Type: text/x-patch
Size: 11392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/b60572cc/attachment.bin>
More information about the llvm-commits
mailing list