sunfishcode opened PR #2703 from sunfishcode/docs
to main
:
As discussed in WebAssembly/wasi-libc#233, document the
-Wl,--stack-first
option to help users diagnose stack overflow errors.<!--
Please ensure that the following steps are all taken care of before submitting
the PR.
[ ] This has been discussed in issue #..., or if not, please tell us why
here.[ ] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.[ ] This PR contains test cases, if meaningful.
- [ ] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.Please ensure all communication adheres to the code of conduct.
-->
sbc100 submitted PR Review.
sbc100 created PR Review Comment:
Worth linking to https://lld.llvm.org/WebAssembly.html so folks find discover other useful linker flags?
How about
For more information on this and other linker flags supported by wasm-ld see https://lld.llvm.org/WebAssembly.html
.
Rochet2 submitted PR Review.
Rochet2 created PR Review Comment:
Interesting. Seems that some useful flags are not described on the page, such as
--growable-table
and--export
. I assume it is not actively being updated. Maybe./wasm-ld --help
would be more extensive, but one cannot see it online. It's also not described on that page of flags.
sbc100 submitted PR Review.
sbc100 created PR Review Comment:
It may be out of date, but that is not indented. Its generated directly from this file in the llvm source tree so it probably just needs an update: https://github.com/llvm/llvm-project/blob/main/lld/docs/WebAssembly.rst. Linking to something readable online is think is better than assuming the reader has a command line to hand.
sbc100 submitted PR Review.
sbc100 created PR Review Comment:
That document also has more useful information about the linker in addition to what
--help
provides.
sunfishcode updated PR #2703 from sunfishcode/docs
to main
.
sunfishcode submitted PR Review.
sunfishcode created PR Review Comment:
Good thought; I'd now added a link to the lld WebAssembly docs.
alexcrichton submitted PR Review.
sbc100 submitted PR Review.
sunfishcode merged PR #2703.
Last updated: Nov 22 2024 at 16:03 UTC