[all-commits] [llvm/llvm-project] 841291: [lld][WebAssembly] Fix memory size in dylink secti...

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Oct 27 16:06:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 84129150ce82894e185c084f2eaec05f4c03dd4c
      https://github.com/llvm/llvm-project/commit/84129150ce82894e185c084f2eaec05f4c03dd4c
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2020-10-27 (Tue, 27 Oct 2020)

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

  Log Message:
  -----------
  [lld][WebAssembly] Fix memory size in dylink section for -pie exectuables

This field to represents the amount of static data needed by
an dynamic library or executable it should not include things
like heap or stack areas, which in the case of `-pie` are
not determined until runtime (e.g. __stack_pointer is imported).

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




More information about the All-commits mailing list