summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-11-06 18:24:04 +0000
committerAnders Carlsson <andersca@mac.com>2009-11-06 18:24:04 +0000
commit25ed5c2f421a3cf57d6c693a839dfb17a50f397f (patch)
tree23cae3de24471b4d1a78e28bf6a473fca84df817
parent899ef22acb10610c130f4be2c21c0d54b6817f0a (diff)
downloadbcm5719-llvm-25ed5c2f421a3cf57d6c693a839dfb17a50f397f.tar.gz
bcm5719-llvm-25ed5c2f421a3cf57d6c693a839dfb17a50f397f.zip
Don't assert when trying to generate debug info for vector types. This needs to be fixed eventually...
llvm-svn: 86268
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 3048485c85d..c772a006f5d 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud