-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for --start-lib / --end-lib to Wasm LLD to omit the use of archives #77960
Labels
Comments
@llvm/issue-subscribers-lld-wasm Author: Tom Rybka (trybka)
Request implementing `-start-lib` and `-end-lib` flags for `wasm-ld`, analogous to the flags in `ld.lld`.
Object files after This mimics static libraries without needing to create an archive. +cc: @sbc100 @walkingeyerobot @googlewalt |
sbc100
added a commit
to sbc100/llvm-project
that referenced
this issue
Jan 19, 2024
…chive indexes. The ELF linker transitioned away from archive indexes in https://reviews.llvm.org/D117284. This paves the way for supporting `--start-lib`/`--end-lib` (See llvm#77960) The ELF linker unified library handling with `--start-lib`/`--end-lib` handling in https://reviews.llvm.org/D119074.
sbc100
added a commit
that referenced
this issue
Jan 20, 2024
…chive indexes. (#78658) The ELF linker transitioned away from archive indexes in https://reviews.llvm.org/D117284. This paves the way for supporting `--start-lib`/`--end-lib` (See #77960) The ELF linker unified library handling with `--start-lib`/`--end-lib` and removed the ArchiveFile class in https://reviews.llvm.org/D119074.
sbc100
added a commit
to sbc100/llvm-project
that referenced
this issue
Jan 20, 2024
sbc100
added a commit
to sbc100/llvm-project
that referenced
this issue
Jan 22, 2024
sbc100
added a commit
that referenced
this issue
Jan 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Request implementing
-start-lib
and-end-lib
flags forwasm-ld
, analogous to the flags inld.lld
.Object files after
-start-lib
are included in the link only when needed to resolve undefined symbols. (-end-lib
returns command-line processing to the original behavior)This mimics static libraries without needing to create an archive.
+cc: @sbc100 @walkingeyerobot @googlewalt
The text was updated successfully, but these errors were encountered: