[all-commits] [llvm/llvm-project] b3b4cd: [lld][WebAssembly] Don't GC library objects under ...

Sam Clegg via All-commits all-commits at lists.llvm.org
Mon Oct 12 21:19:47 PDT 2020


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

  Changed paths:
    M lld/test/wasm/ctor-gc.test
    M lld/wasm/Driver.cpp
    M lld/wasm/InputFiles.cpp

  Log Message:
  -----------
  [lld][WebAssembly] Don't GC library objects under `--whole-archive`

Followup on https://reviews.llvm.org/D85062 which ignores
entire library objects when no symbols are used within them.
This is shouldn't apply with `--whole-archive` since this
is specified to treat them like direct object inputs.

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




More information about the All-commits mailing list