Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
osa1 opened this issue Oct 31, 2014 · 2 comments
Closed
Labels
A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.

Comments

@osa1
Copy link
Contributor

osa1 commented Oct 31, 2014

➜  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
@steveklabnik steveklabnik added A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. labels Jan 27, 2015
@sanxiyn
Copy link
Member

sanxiyn commented Oct 12, 2015

How can I reproduce this issue? https://github.com/osa1/gdb-mi.rs is 404.

@steveklabnik
Copy link
Member

@osa1 I'm going to give this a close, if you can help us reproduce, please let us know!

lnicola added a commit to lnicola/rust that referenced this issue Nov 12, 2024
…its_accessors

internal: Add public `direct_supertraits(…)` & `all_supertraits(…)` accessor methods to `hir::Trait`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
Projects
None yet
Development

No branches or pull requests

3 participants