[llvm-commits] [llvm] r57955 - in /llvm/branches/release_24: lib/CodeGen/AsmPrinter/DwarfWriter.cpp test/DebugInfo/2008-10-17-C++DebugCrash.ll

Tanya Lattner tonic at nondot.org
Tue Oct 21 21:35:42 PDT 2008


Author: tbrethou
Date: Tue Oct 21 23:35:41 2008
New Revision: 57955

URL: http://llvm.org/viewvc/llvm-project?rev=57955&view=rev
Log:
Merge from mainline. 


Added:
    llvm/branches/release_24/test/DebugInfo/2008-10-17-C++DebugCrash.ll
      - copied unchanged from r57714, llvm/trunk/test/DebugInfo/2008-10-17-C++DebugCrash.ll
Modified:
    llvm/branches/release_24/lib/CodeGen/AsmPrinter/DwarfWriter.cpp

Modified: llvm/branches/release_24/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_24/lib/CodeGen/AsmPrinter/DwarfWriter.cpp?rev=57955&r1=57954&r2=57955&view=diff

==============================================================================
--- llvm/branches/release_24/lib/CodeGen/AsmPrinter/DwarfWriter.cpp (original)
+++ llvm/branches/release_24/lib/CodeGen/AsmPrinter/DwarfWriter.cpp Tue Oct 21 23:35:41 2008
@@ -2060,8 +2060,11 @@
         return;
       }
     }
-
+#if 0
+    // FIXME: This is causing an abort because C++ mangled names are compared
+    // with their unmangled counterparts. See PR2885. Don't do this assert.
     assert(0 && "Couldn't find DIE for machine function!");
+#endif
   }
 
   /// EmitInitial - Emit initial Dwarf declarations.  This is necessary for cc





More information about the llvm-commits mailing list