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

Fix LTO with -link-internally for MSVC targets #3604

Merged
merged 1 commit into from
Nov 1, 2020

Conversation

kinke
Copy link
Member

@kinke kinke commented Nov 1, 2020

Fixes #2657 by deferring the llvm_shutdown() call.

This allows to remove bundled lld-link.exe for the prebuilt Windows packages.

Fixes ldc-developers#2657 by deferring the llvm_shutdown() call.

This allows to remove bundled lld-link.exe for the prebuilt Windows
packages.
@JohanEngelen
Copy link
Member

I recently saw that we do llvm_shutdown quite early, so this fixes some other potential issues too. 👍

@kinke kinke merged commit baca172 into ldc-developers:master Nov 1, 2020
@kinke kinke deleted the lld_lto branch November 1, 2020 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrated LLD (-link-internally) not usable for LTO
2 participants