HomePhabricator

[WebAssembly] GC constructor functions in otherwise unused archive objects

Authored by sunfish on Sep 30 2020, 8:00 PM.

Description

[WebAssembly] GC constructor functions in otherwise unused archive objects

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

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