diff options
author | Enrico Granata <egranata@apple.com> | 2014-10-06 21:00:30 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-10-06 21:00:30 +0000 |
commit | 9aceaa1be2b67f18a461035de9f39a5e8152fc16 (patch) | |
tree | 91962379c4149977d1146ee5c1247c66a74b0850 /lldb/source/API | |
parent | 98085953192ef6491c858e14e330b2f1324ff2ba (diff) | |
download | bcm5719-llvm-9aceaa1be2b67f18a461035de9f39a5e8152fc16.tar.gz bcm5719-llvm-9aceaa1be2b67f18a461035de9f39a5e8152fc16.zip |
Fix a problem where LLDB was constructing a TypeImpl marking the dynamic type as the static type. Instead use the TypeImpl() constructor correctly
llvm-svn: 219142
Diffstat (limited to 'lldb/source/API')
-rw-r--r-- | lldb/source/API/SBType.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBType.cpp b/lldb/source/API/SBType.cpp index 54cbdc8a77f..1d521098cab 100644 --- a/lldb/source/API/SBType.cpp +++ b/lldb/source/API/SBType.cpp @@ -324,7 +324,7 @@ uint32_t SBType::GetNumberOfFields () { if (IsValid()) - return m_opaque_sp->GetClangASTType(false).GetNumFields(); + return m_opaque_sp->GetClangASTType(true).GetNumFields(); return 0; } |