[cfe-commits] r86315 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Devang Patel dpatel at apple.com
Fri Nov 6 16:29:06 PST 2009


Author: dpatel
Date: Fri Nov  6 18:29:05 2009
New Revision: 86315

URL: http://llvm.org/viewvc/llvm-project?rev=86315&view=rev
Log:
Do not assert if debug info for certain type is not generated.

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=86315&r1=86314&r2=86315&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Nov  6 18:29:05 2009
@@ -856,7 +856,6 @@
   case Type::Vector:
     return llvm::DIType();
   default:
-    assert(false && "Unhandled type class!");
     return llvm::DIType();
   case Type::ObjCObjectPointer:
     return CreateType(cast<ObjCObjectPointerType>(Ty), Unit);





More information about the cfe-commits mailing list