[all-commits] [llvm/llvm-project] 950ae4: [WebAssembly] GC constructor functions in otherwis...
Dan Gohman via All-commits
all-commits at lists.llvm.org
Mon Oct 12 18:55:36 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 950ae43091121ea357f735790f4042264cf40728
https://github.com/llvm/llvm-project/commit/950ae43091121ea357f735790f4042264cf40728
Author: Dan Gohman <dev at sunfishcode.online>
Date: 2020-10-12 (Mon, 12 Oct 2020)
Changed paths:
A lld/test/wasm/Inputs/ctor-ctor.s
A lld/test/wasm/Inputs/ctor-lib.s
A lld/test/wasm/Inputs/ctor-setup-call-def.s
A lld/test/wasm/Inputs/ctor-setup.s
A lld/test/wasm/Inputs/ctor-start.s
A lld/test/wasm/ctor-gc-setup.test
A lld/test/wasm/ctor-gc.test
A lld/test/wasm/ctor-no-gc.test
M lld/wasm/InputFiles.h
M lld/wasm/MarkLive.cpp
M lld/wasm/Symbols.cpp
M lld/wasm/Writer.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list