Closed
Description
➜ gdb-mi.rs git:(master) rustc --version
rustc 0.13.0-nightly (d1fc2dec7 2014-10-30 04:32:08 +0000)
➜ gdb-mi.rs git:(master) cargo bench
Compiling gdb-mi v0.0.1 (file:///home/omer/rust/gdb-mi.rs)
LandingPadInst not the first non-PHI instruction in the block.
%229 = landingpad { i8*, i32 } personality i32 (i32, i32, i64, %"struct.rustrt::libunwind::_Unwind_Exception<[]>[#9]"*, %"enum.rustrt::libunwind::_Unwind_Context<[]>[#9]"*)* @rust_eh_personality
cleanup
The unwind destination does not have a landingpad instruction!
invoke void @_ZN9panicking5panic20h9e55ffc25facd4d4l4jE({ %str_slice, %str_slice, i64 }* noalias nocapture readonly dereferenceable(40) @"_ZN4comm6shared15Packet$LT$T$GT$8try_recv14_MSG_FILE_LINE20h15f92eaa8710f34d7WcE")
to label %normal-return32.i.i unwind label %cond.i187.i.i, !noalias !106
LLVM ERROR: Broken function found, compilation aborted!
Could not compile `gdb-mi`.
To learn more, run the command again with --verbose.
➜ gdb-mi.rs git:(master) git remote -v
origin https://github.com/osa1/gdb-mi.rs (fetch)
origin https://github.com/osa1/gdb-mi.rs (push)
➜ gdb-mi.rs git:(master) git --no-pager log --pretty=format:'%h' -n 1
69a0958