Skip to content

Commit 25ed5c2

Browse files
author
Anders Carlsson
committed
Don't assert when trying to generate debug info for vector types. This needs to be fixed eventually...
llvm-svn: 86268
1 parent 899ef22 commit 25ed5c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -841,6 +841,10 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty,
841841
#include "clang/AST/TypeNodes.def"
842842
assert(false && "Dependent types cannot show up in debug information");
843843

844+
// FIXME: Handle these.
845+
case Type::ExtVector:
846+
case Type::Vector:
847+
return llvm::DIType();
844848
default:
845849
assert(false && "Unhandled type class!");
846850
return llvm::DIType();

0 commit comments

Comments
 (0)