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

Use the llvm linker #733

Closed
jordens opened this issue May 11, 2017 · 4 comments
Closed

Use the llvm linker #733

jordens opened this issue May 11, 2017 · 4 comments

Comments

@jordens
Copy link
Member

jordens commented May 11, 2017

From #407

Now that we're on LLVM 3.8 we can use the LLVM linker, and rip out a whole bunch of cruft at the same time as making it all faster.

That will also:

  • remove the binutils dependency;
  • make runtime smaller as we can make use of LTO;
  • improve error messages as LLVM's symbolizer works better than GNU's. (this is not strictly related to the linker but it's an adjacent API that would be convenient to make use of at the same time.)
@whitequark
Copy link
Contributor

Doesn't have the C API yet. However we can write one and submit it upstream, I know upstream will welcome it.

@whitequark
Copy link
Contributor

LLD is production-ready since LLVM 7.0. https://lists.llvm.org/pipermail/llvm-announce/2018-September/000080.html

@dnadlinger
Copy link
Collaborator

This is definitely an interesting direction (shipping linker plugins for LTO is a bit of a headache otherwise), but, with sample size 1, doesn't currently seem to be critical for speed: #1380

@sbourdeauducq
Copy link
Member

Done on all platforms since RISC-V.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

4 participants