[llvm-bugs] [Bug 26833] New: [CodeView] assertion after optimizing code with debug info

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 3 12:32:01 PST 2016


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

            Bug ID: 26833
           Summary: [CodeView] assertion after optimizing code with debug
                    info
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: r.sagitario at gmx.de
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The attached IR compiles fine with "llc", but triggers an assertion if
optimized before with "opt -O2":

Assertion failed: cast<DISubprogram>(Scope)->describes(MF->getFunction()), file
C:\s\d\ldc\llvm\lib\CodeGen\LexicalScopes.cpp, line 160

Strangely, it doesn't assert with "llc -O2". The same compiles without debug
info.

-- 
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/20160303/c516ab20/attachment.html>


More information about the llvm-bugs mailing list