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 3048485..c772a00 100644
--- a/lib/CodeGen/CGDebugInfo.cpp
+++ b/lib/CodeGen/CGDebugInfo.cpp
@@ -841,6 +841,10 @@
#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();