Closed
Description
% 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'.
- Running pass 'X86 Assembly / Object Emitter' on function '@_ZN4main16_113178cfcd612383_00E'
Illegal instruction: 4
Might be related to #5836