[llvm-bugs] [Bug 25308] New: SROA introduces debug info verifier failure

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 24 17:19:08 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25308

            Bug ID: 25308
           Summary: SROA introduces debug info verifier failure
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: kfischer at college.harvard.edu
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15153
  --> https://llvm.org/bugs/attachment.cgi?id=15153&action=edit
Reduced testcase

See the attached test case:
```
$opt -o out.bc -verify bugpoint-reduced-simplified.ll 
$opt -o out.bc -sroa bugpoint-reduced-simplified.ll
piece covers entire variable
  call void @llvm.dbg.value(metadata i64 1, i64 0, metadata !1, metadata !29),
!dbg !14
!1 = !DILocalVariable(name: "#s328", scope: !2, file: !3, line: 331, type: !6)
!29 = !DIExpression(DW_OP_bit_piece, 0, 64)
LLVM ERROR: Broken module found, compilation aborted!
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151025/953ea45c/attachment.html>


More information about the llvm-bugs mailing list