Open
Description
By far the most common stack overflow bug report nowadays for rustc is rustc dying in LLVM while emitting debuginfo. Lately DwarfCompileUnit::createAndAddScopeChildren
has seemed to acquire the power of recursing on itself and destroying the stack essentially without assistance. People are setting hundreds of megabytes for RUST_MIN_STACK
to get their code to compile. That's... closer to our resident set size in most executions?
Unlike other reports like #76920 this has been happening with our stock rustc distribution, as far as I can tell, and our bundled LLVM.