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 assertion failure with -O -g --test #16404

Closed
jbalintbiro opened this issue Aug 10, 2014 · 2 comments
Closed

LLVM assertion failure with -O -g --test #16404

jbalintbiro opened this issue Aug 10, 2014 · 2 comments

Comments

@jbalintbiro
Copy link

When i'm trying to compile this file:
https://github.com/saati/skiplist-rs/blob/master/src/skiplist.rs

with rustc -O -g --test

bjb@b:~/code/skiplist-rs$ rustc -O -g --test src/skiplist.rs 
rustc: /home/bjb/src/rust/src/llvm/lib/CodeGen/LexicalScopes.cpp:179: llvm::LexicalScope* llvm::LexicalScopes::getOrCreateRegularScope(llvm::MDNode*): Assertion `DISubprogram(Scope).describes(MF->getFunction())' failed.
Aborted
@jbalintbiro jbalintbiro changed the title LLVM assertion failure LLVM assertion failure with -O -g --test Aug 10, 2014
@sfackler
Copy link
Member

cc @michaelwoerister

@michaelwoerister
Copy link
Member

Thanks for the report. I'm closing this as a duplicate of #15156. LLVM doesn't seem to be very stable at the moment when it comes to combining optimization and debuginfo (which is a hard problem; don't want to complain about the LLVM folks :)

bors added a commit to rust-lang-ci/rust that referenced this issue Jan 21, 2024
Work through temporarily allowed clippy lints, part 1

This is the first batch of not allowing but actually fixing the clippy lints. Each commit removes one lint from the lint table and then fixes the resulting warnings.

Follow-up to rust-lang#16401
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants