Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc: Tweak the
isExported
callback for ThinLTO
Previously we were too eagerly exporting almost all symbols used in ThinLTO which can cause a whole host of problems downstream! This commit instead fixes this error by aligning more closely with `lib/LTO/LTO.cpp` in LLVM's codebase which is to only change the linkage of summaries which are computed as dead. Closes #46374
- Loading branch information
1 parent
4fa202d
commit 01c47c2
Showing
1 changed file
with
23 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters