[LLVMbugs] [Bug 20062] New: Assertion `Cu && "We should not have orphaned DIEs."' failed after SVN 210943

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 16 20:37:06 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20062

            Bug ID: 20062
           Summary: Assertion `Cu && "We should not have orphaned DIEs."'
                    failed after SVN 210943
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: ryan.osial at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12671
  --> http://llvm.org/bugs/attachment.cgi?id=12671&action=edit
Backtrace

Assertion failed while compiling thin-provisioning-tools-0.2.8

clang:
/home/ryan/projects/nobackup/llvm/git/llvm/lib/CodeGen/AsmPrinter/DIE.cpp:111:
const llvm::DIE* llvm::DIE::getUnit() const: Assertion `Cu && "We should not
have orphaned DIEs."' failed.

Backtrace attached.  Will attach test case next

Reproducable with -O2 or -O3 combined with -g.  Did not occur with -O0 or -O1
nor when -g is not specified.

Assertion fails with:
flags="-g -O3"
flags="-g -O2"

Works with:
flags="-g -O1"
flags="-g -O0"
flags="-O2"
flags="-O3"

-- 
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/20140617/a89a008a/attachment.html>


More information about the llvm-bugs mailing list