[PATCH] D89293: [WebAssembly] Don't GC constructors from libraries under --whole-archive

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 21:13:43 PDT 2020


sunfish created this revision.
sunfish added a reviewer: sbc100.
Herald added subscribers: ecnelises, jgravelle-google, dschuff.
Herald added a project: LLVM.
sunfish requested review of this revision.
Herald added a subscriber: aheejin.

When --whole-archive is active, treat object files linked from archives
as live, and don't GC their constructors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D89293

Files:
  lld/test/wasm/ctor-no-gc-whole-archive.test
  lld/wasm/Driver.cpp
  lld/wasm/InputFiles.cpp
  lld/wasm/InputFiles.h
  lld/wasm/SymbolTable.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89293.297756.patch
Type: text/x-patch
Size: 4474 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201013/d10ff131/attachment-0001.bin>


More information about the llvm-commits mailing list