From: Anders Carlsson Date: Fri, 6 Nov 2009 18:24:04 +0000 (+0000) Subject: Don't assert when trying to generate debug info for vector types. This needs to be... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfe69955a2efb969839b6d87d7e118044ea3cbb4;p=clang Don't assert when trying to generate debug info for vector types. This needs to be fixed eventually... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86268 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 3048485c85..c772a006f5 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -841,6 +841,10 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, #include "clang/AST/TypeNodes.def" assert(false && "Dependent types cannot show up in debug information"); + // FIXME: Handle these. + case Type::ExtVector: + case Type::Vector: + return llvm::DIType(); default: assert(false && "Unhandled type class!"); return llvm::DIType();