Skip to content

LLVM 11 regression: assertion "conflicting locations for variable" #56418

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

Open
andrewrk opened this issue Jul 7, 2022 · 3 comments
Open

LLVM 11 regression: assertion "conflicting locations for variable" #56418

andrewrk opened this issue Jul 7, 2022 · 3 comments
Labels
bug Indicates an unexpected problem or unintended behavior regression

Comments

@andrewrk
Copy link
Member

andrewrk commented Jul 7, 2022

reproduces with assert builds of:

  • LLVM 14.0.6
  • LLVM 13.0.1
  • LLVM 12.0.0-rc4
  • LLVM 11.0.1

does NOT reproduce with assert builds of:

  • LLVM 10.0.1

Reduction: 66KB .ll file here: ziglang/zig#8442 (comment)

Repro:

$ ~/local/llvm13-debug/bin/clang -c reduced.ll -O2
clang: /home/andy/Downloads/llvm-project-13/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:319: void llvm::DbgVariable::addMMIEntry(const llvm::DbgVariable&): Assertion `(FrameIndexExprs.size() == 1 || llvm::all_of(FrameIndexExprs, [](FrameIndexExpr &FIE) { return FIE.Expr && FIE.Expr->isFragment(); })) && "conflicting locations for variable"' failed.

Downstream issue: #8442

@andrewrk andrewrk added bug Indicates an unexpected problem or unintended behavior regression labels Jul 7, 2022
@andrewrk andrewrk added this to the LLVM 15.0.0 Release milestone Jul 7, 2022
@llvmbot
Copy link
Member

llvmbot commented Jul 7, 2022

@llvm/issue-subscribers-bug

@tru
Copy link
Collaborator

tru commented Aug 22, 2022

Hi - this is tagged as something that should be fixed for 15.x - is it still relevant, what's the impact and is anyone working on a fix for it?

@tru tru modified the milestones: LLVM 15.0.0 Release, LLVM 15.0.1 Aug 25, 2022
@tru
Copy link
Collaborator

tru commented Sep 15, 2022

Since this doesn't seem to have any updates or traction I will remove it from the 15.x milestones. If someone comes up with a fix it can be added back to that milestone and we can pick the fix for the then next .x release.

@tru tru removed this from the LLVM 15.0.1 Release milestone Sep 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior regression
Projects
Status: Needs Fix
Development

No branches or pull requests

3 participants