-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
LLVM assertion when compiling with -g #19575
Labels
A-closures
Area: Closures (`|…| { … }`)
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Comments
Duplicate of #17257? (there are some comments with unboxed closures and |
It worked with the rustc versions from around last week. Especially the rustup versions. So either it's new or it's a regression bug. |
I'll look into it. |
I suspect the culprit is make_return_slot_pointer in librustc_trans::trans::builder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-closures
Area: Closures (`|…| { … }`)
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
@bstrie So, this code raises an assertion in llvm when compiling with -g. Without -g it works fine.
Raised assertion is
Edit: reduced code more
The text was updated successfully, but these errors were encountered: