[LLVMbugs] [Bug 2885] New: assertion triggered in DwarfWriter

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Oct 12 01:19:28 PDT 2008


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

           Summary: assertion triggered in DwarfWriter
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nlewycky at google.com
                CC: rafael.espindola at gmail.com, llvmbugs at cs.uiuc.edu


Created an attachment (id=2082)
 --> (http://llvm.org/bugs/attachment.cgi?id=2082)
c++ testcase

This attachment compiles fine unless you specify -g on the command line:

  $ llvm-g++ -g die.cc
  cc1plus: DwarfWriter.cpp:2064: void
llvm::DwarfDebug::ConstructDefaultScope(llvm::MachineFunction*): Assertion `0
&& "Couldn't find DIE for machine function!"' failed.
  die.cc:32: internal compiler error: Aborted
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://developer.apple.com/bugreporter> for instructions.

This happens on 32 and 64-bit Linux.


-- 
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