-
Notifications
You must be signed in to change notification settings - Fork 13.3k
LTO triggers type debuginfo unification error in LLVM #15045
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
Comments
Thanks for the report and for making sure that it occurs with a recent version. I was already able to reproduce it and will take a look at it next week. I suspect source file and line information of inlined items to be the culprit. But only closer investigation will show the real reason... |
UpdateWhile the original issue indeed seems to have been fixed with #15199, there's another problem occuring now (60e7317) with the same test case:
Note that this is the same error as in #17201. It seems that LTO still triggers the problem, even if all crates involved contain debuginfo. |
As the original problem has been fixed, I'll close this issue and open a new one for the new problem. I also renamed the issue to better reflect what the original error was. |
This is with a recent rustc that includes #14819 and a new snapshot. Exact line used to build rustc:
cc @michaelwoerister
The text was updated successfully, but these errors were encountered: