-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.
Description
STR:
- Create a dummy crate:
cargo new hello ; cd hello
- Build with profiling and LTO enabled:
CARGO_INCREMENTAL=0 cargo +nightly rustc -- -Zprofile -Cdebuginfo=2 -Clto -Cembed-bitcode=yes
This fails with the following error message:
DICompileUnit not listed in llvm.dbg.cu
!34 = distinct !DICompileUnit(language: DW_LANG_Rust, file: !13, producer: "clang LLVM (rustc version 1.58.0-nightly (bd41e09da 2021-10-18))", isOptimized: false, runtimeVersion: 0, emissionKind: FullDebug, enums: !35)
LLVM ERROR: Broken module found, compilation aborted!
Bisect says it is a regression from #89041.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.requires-nightlyThis issue requires a nightly compiler in some way.This issue requires a nightly compiler in some way.