debuginfo: LTO triggers assertion in llvm::LexicalScopes::getOrCreateRegularScope()
#17677
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
Steps to reproduce:
rustc
withRUSTFLAGS_STAGE2=-g make rustc-stage2
rustc ./ltocrash.rs -g -C lto
rustc
crashes with the following error:A very similar issue (#17201) occurred in non-LTO cases.
The text was updated successfully, but these errors were encountered: