[PATCH] D85062: [WebAssembly] GC constructor functions in otherwise unused objects

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 17:23:27 PDT 2020


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

This allows `__wasilibc_populate_libpreopen` to be GC'd in more cases
where it isn't needed, including when linked from Rust's libstd.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85062

Files:
  lld/test/wasm/Inputs/ctor-ctor.s
  lld/test/wasm/Inputs/ctor-lib.s
  lld/test/wasm/Inputs/ctor-start.s
  lld/test/wasm/ctor-gc.test
  lld/wasm/InputFiles.h
  lld/wasm/MarkLive.cpp
  lld/wasm/Symbols.cpp
  lld/wasm/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85062.282357.patch
Type: text/x-patch
Size: 6721 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200801/badab229/attachment.bin>


More information about the llvm-commits mailing list