[LLVMbugs] [Bug 12831] New: Assertion `Child->getParent() == this && "Unexpected DIE Parent!"' failed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 15 03:03:35 PDT 2012


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

             Bug #: 12831
           Summary: Assertion `Child->getParent() == this && "Unexpected
                    DIE Parent!"' failed
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: peter at pcc.me.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8563
  --> http://llvm.org/bugs/attachment.cgi?id=8563
Reduced test case

Asserts while emitting debug info.  This appears to happen in cases where a
member function calls a member function in another class multiple times,
passing a lambda std::function as an argument.  Reduced test case and .ll
attached.

clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-main-file-name BPLFunctionWriter.cpp -pic-level 2 -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu
x86-64 -momit-leaf-frame-pointer -g -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wno-long-long -pedantic -std=c++0x -fconst-strings
-fdeprecated-macro -ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-rtti
-fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fdiagnostics-show-option -x c++ -o BPLFunctionWriter.o BPLFunctionWriter.ii

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list