Skip to content
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

completely eliminate dependency on LLD #8726

Open
1 of 4 tasks
Tracked by #16270
andrewrk opened this issue May 9, 2021 · 1 comment
Open
1 of 4 tasks
Tracked by #16270

completely eliminate dependency on LLD #8726

andrewrk opened this issue May 9, 2021 · 1 comment
Labels
contributor friendly This issue is limited in scope and/or knowledge of Zig internals. enhancement Solving this issue will likely involve adding new logic or components to the codebase. linking
Milestone

Comments

@andrewrk
Copy link
Member

andrewrk commented May 9, 2021

In celebration of @kubkon's recent accomplishments of improving the self-hosted linker on Mach-O enough to be able to link LLVM, Clang, LLD, and Zig, this issue is to completely rely on our own linker implementation for all targets, and entirely stop linking against LLD. This issue is the spiritual successor to #1535.

Other Considerations

  • miscellaneous features such as linker scripts (related: Zig-based alternative to linker scripts #3206)
  • LTO. For our purposes, this would look like suporting LLVM IR bitcode files and using LLVM APIs to turn them into object(s) before completing the linking process.
@andrewrk andrewrk added enhancement Solving this issue will likely involve adding new logic or components to the codebase. contributor friendly This issue is limited in scope and/or knowledge of Zig internals. linking labels May 9, 2021
@andrewrk andrewrk added this to the 1.1.0 milestone May 9, 2021
@matthewp
Copy link

Does fixing #7133 need to wait on this? Will this issue fix that one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor friendly This issue is limited in scope and/or knowledge of Zig internals. enhancement Solving this issue will likely involve adding new logic or components to the codebase. linking
Projects
Status: Ditch LLVM
Development

No branches or pull requests

2 participants