[all-commits] [llvm/llvm-project] 50bfc4: [lld][WebAssemlby] Always enable mutable-globals f...

Sam Clegg via All-commits all-commits at lists.llvm.org
Thu Oct 28 16:26:34 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50bfc451096f106aeb7fb9b805235ec44718ddf4
      https://github.com/llvm/llvm-project/commit/50bfc451096f106aeb7fb9b805235ec44718ddf4
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    A lld/test/wasm/lto/pic-empty.s
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [lld][WebAssemlby] Always enable mutable-globals feature in PIC mode

This works around an issue where the feature can be forgotten
in the case of LTO + object file with no functions.

See: https://bugs.llvm.org/show_bug.cgi?id=52339

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




More information about the All-commits mailing list