[all-commits] [llvm/llvm-project] 04febd: [lld][WebAssembly] Error on import/export of mutab...

Sam Clegg via All-commits all-commits at lists.llvm.org
Sat Sep 12 15:11:58 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 04febd30a8dab3ff4b6e6032f1a1a9f4725f8267
      https://github.com/llvm/llvm-project/commit/04febd30a8dab3ff4b6e6032f1a1a9f4725f8267
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2020-09-12 (Sat, 12 Sep 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    M clang/test/Driver/wasm-toolchain.c
    M lld/test/wasm/Inputs/undefined-globals.s
    M lld/test/wasm/emit-relocs-fpic.s
    M lld/test/wasm/gc-imports.s
    A lld/test/wasm/mutable-globals.s
    M lld/test/wasm/pie.ll
    M lld/test/wasm/shared.ll
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Error on import/export of mutable global without `mutable-globals` feature

Also add the +mutable-globals features in clang when
building with `-fPIC` since the linker will generate mutable
globals imports and exports in that case.

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




More information about the All-commits mailing list