[all-commits] [llvm/llvm-project] 3a8d8a: [WebAssembly] Don't use passive segments for bss i...
Alex Crichton via All-commits
all-commits at lists.llvm.org
Thu Jul 9 09:47:52 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3a8d8ac23213aa702f0fd08f9ec60e4d068b58e3
https://github.com/llvm/llvm-project/commit/3a8d8ac23213aa702f0fd08f9ec60e4d068b58e3
Author: Alex Crichton <alex at alexcrichton.com>
Date: 2026-07-09 (Thu, 09 Jul 2026)
Changed paths:
M lld/test/wasm/cooperative-threading.s
M lld/wasm/Writer.cpp
Log Message:
-----------
[WebAssembly] Don't use passive segments for bss in coop threads (#208284)
This commit is an update to `wasm-ld`'s behavior with bss data segments
with `--cooperative-threading`. Previously bss segments were forced to
become passive data segments meaning that a `start` function was emitted
with a `memory.fill` that set the required region of memory to 0. This
isn't required for coop threads though because the module is only
instantiated once and the default pattern for memory is 0, so only
special treatment of TLS segments are required.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list