[Lldb-commits] [lldb] r180237 - <rdar://problem/13565393>

Greg Clayton gclayton at apple.com
Wed Apr 24 18:06:08 PDT 2013


Author: gclayton
Date: Wed Apr 24 20:06:07 2013
New Revision: 180237

URL: http://llvm.org/viewvc/llvm-project?rev=180237&view=rev
Log:
<rdar://problem/13565393>

If a register is in a ValueObject, be sure to print its children if it is a vector type.


Modified:
    lldb/trunk/source/Core/ValueObjectRegister.cpp

Modified: lldb/trunk/source/Core/ValueObjectRegister.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObjectRegister.cpp?rev=180237&r1=180236&r2=180237&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObjectRegister.cpp (original)
+++ lldb/trunk/source/Core/ValueObjectRegister.cpp Wed Apr 24 20:06:07 2013
@@ -344,7 +344,7 @@ ValueObjectRegister::GetTypeName()
 size_t
 ValueObjectRegister::CalculateNumChildren()
 {
-    return 0;
+    return ClangASTContext::GetNumChildren(GetClangAST(), GetClangType(), true);
 }
 
 clang::ASTContext *





More information about the lldb-commits mailing list