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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED], [email protected]


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

Reply via email to