[all-commits] [llvm/llvm-project] ec47db: [lld][WebAssembly] Perform data relocations during...

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Jan 18 14:08:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec47dba1c8a2c89ae3ee3cfa052f69dc5fda153d
      https://github.com/llvm/llvm-project/commit/ec47dba1c8a2c89ae3ee3cfa052f69dc5fda153d
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M lld/test/wasm/data-segments.ll
    M lld/test/wasm/pie.ll
    M lld/wasm/Writer.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Perform data relocations during start function

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.

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




More information about the All-commits mailing list