[all-commits] [llvm/llvm-project] 0a6c4d: [WebAssmebly] Add support for defined wasm globals...

Sam Clegg via All-commits all-commits at lists.llvm.org
Thu Apr 30 12:44:35 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a6c4d8d2ebc20b687341d3f66835a5071de055a
      https://github.com/llvm/llvm-project/commit/0a6c4d8d2ebc20b687341d3f66835a5071de055a
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    A lld/test/wasm/globals.s
    M lld/wasm/WriterUtils.cpp
    M llvm/include/llvm/BinaryFormat/Wasm.h
    M llvm/lib/MC/WasmObjectWriter.cpp
    A llvm/test/MC/WebAssembly/globals.s

  Log Message:
  -----------
  [WebAssmebly] Add support for defined wasm globals in MC and lld

This change add support for defined wasm globals in the .s format,
the MC layer, and wasm-ld

Currently there is no support custom initialization and all wasm
globals are initialized to zero.

Fixes: PR45742

Differential Revision: https://reviews.llvm.org/D79137




More information about the All-commits mailing list