[llvm-branch-commits] [lld] [llvm] release/20.x: [lld][WebAssembly] Support for the custom-page-sizes WebAssembly proposal (#128942) (PR #129762)
Sam Clegg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 17 08:44:37 PDT 2025
sbc100 wrote:
> How is the status on this? Is there any workaround to compile to wasm with memories smaller than 64KiB for embedded systems for demonstration purposes?
Yes, isn't that exactly what https://github.com/llvm/llvm-project/pull/128942 does? You would link with `-Wl,--page-size=1` and then you could get arbitrary sized memories.
You currently need to use LLVM tip-of-tree to try out this flag. If this backport is landed it would end up in the next 20.X point release.
https://github.com/llvm/llvm-project/pull/129762
More information about the llvm-branch-commits
mailing list