[clang] [lld] [llvm] [lld][WebAssembly][Clang][MC] WASIP3 and component model threading support (PR #175800)
Sam Clegg via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 17 15:01:27 PST 2026
================
@@ -663,7 +664,7 @@ void DataCountSection::writeBody() {
}
bool DataCountSection::isNeeded() const {
- return numSegments && ctx.arg.sharedMemory;
+ return numSegments && ctx.arg.isMultithreaded();
----------------
sbc100 wrote:
I think this should should stay as `sharedMemory`, no? I think the reason is that with shared memory we use passive data segments. When memory is not shared we don't do that so we don't need the data count section.
https://github.com/llvm/llvm-project/pull/175800
More information about the cfe-commits
mailing list