Skip to content

LLVM "broken function found" failure (nightly d1fc2dec7 2014-10-30 04:32:08) #18482

Closed
@osa1

Description

@osa1
➜  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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-codegenArea: Code generation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions