Stream: git-wasmtime

Topic: wasmtime / PR #2218 cranelift-object: Support per functio...


view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2020 at 12:09):

bjorn3 opened PR #2218 from per_function_sections to main:

This makes it possible for the linker to omit unused functions when --gc-sections is passed.

For cg_clif the executable size savings are quite big. One example is 26MB when a single .text section is used, but 15MB when a single section for each function is used, which is the same as when compiled using cg_llvm. I will probably disable this in debug mode though as it significantly increases the linking time.

The same could be done for data objects. I will try how much it helps for them.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2020 at 16:45):

pchickey submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 22 2020 at 18:29):

pchickey merged PR #2218.


Last updated: Dec 23 2024 at 12:05 UTC