[cfe-commits] r86268 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Anders Carlsson
andersca at mac.com
Fri Nov 6 10:24:05 PST 2009
Author: andersca
Date: Fri Nov 6 12:24:04 2009
New Revision: 86268
URL: http://llvm.org/viewvc/llvm-project?rev=86268&view=rev
Log:
Don't assert when trying to generate debug info for vector types. This needs to be fixed eventually...
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=86268&r1=86267&r2=86268&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Fri Nov 6 12:24:04 2009
@@ -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();
More information about the cfe-commits
mailing list