rustc -Z debug-info is causing llvm assert failures #6814
Labels
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.
% pwd
/Users/pnkfelix/Dev/Mozilla/rust.git
% objdir/x86_64-apple-darwin/stage2/bin/rustc -Z debug-info src/test/run-pass/hello.rs
Assertion failed: (TheCU && "Unable to find compile unit!"), function beginFunction, file /Users/pnkfelix/Dev/Mozilla/rust.git/src/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp, line 1367.
Stack dump:
0. Running pass 'Function Pass Manager' on module 'hello.rc'.
Illegal instruction: 4
Might be related to #5836
The text was updated successfully, but these errors were encountered: