diff options
author | Anders Carlsson <andersca@mac.com> | 2009-11-06 18:24:04 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-11-06 18:24:04 +0000 |
commit | bfe69955a2efb969839b6d87d7e118044ea3cbb4 (patch) | |
tree | 1409fb12541e5d93c77f9eebd3c0d8cf27ec8fd8 /lib/CodeGen/CGDebugInfo.cpp | |
parent | 7d62a8f81f2f22e25c048edfb412b22e06c542ff (diff) |
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
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |