When promoting the result of fp_to_uint/fp_to_sint,
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfWriter.cpp
index 3cfe00e7e07ad6ceea530882ae0fb81fa56a26bd..1cf75b923b36c2e1bc3a8d2304dfb8c0e0d88179 100644 (file)
@@ -2060,8 +2060,11 @@ private:
         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