[Lldb-commits] [lldb] r198809 - Revert the vector part of Enrico's change in r198729;
Jason Molenda
jmolenda at apple.com
Wed Jan 8 15:35:54 PST 2014
Author: jmolenda
Date: Wed Jan 8 17:35:54 2014
New Revision: 198809
URL: http://llvm.org/viewvc/llvm-project?rev=198809&view=rev
Log:
Revert the vector part of Enrico's change in r198729;
it is causing an llvm assert when run against
test/functionalities/data-formatter/rdar-10642615,
Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file llvm/include/llvm/Support/Casting.h, line 239.
Modified:
lldb/trunk/source/Symbol/ClangASTType.cpp
Modified: lldb/trunk/source/Symbol/ClangASTType.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Symbol/ClangASTType.cpp?rev=198809&r1=198808&r2=198809&view=diff
==============================================================================
--- lldb/trunk/source/Symbol/ClangASTType.cpp (original)
+++ lldb/trunk/source/Symbol/ClangASTType.cpp Wed Jan 8 17:35:54 2014
@@ -3245,7 +3245,7 @@ ClangASTType::GetChildClangTypeAtIndex (
case clang::Type::ExtVector:
if (idx_is_valid)
{
- const VectorType *array = cast<VectorType>(GetQualType().getTypePtr());
+ const VectorType *array = cast<VectorType>(parent_qual_type.getTypePtr());
if (array)
{
ClangASTType element_type (m_ast, array->getElementType());
More information about the lldb-commits
mailing list