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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to