summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectMemory.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-03-26 23:03:23 +0000
committerGreg Clayton <gclayton@apple.com>2012-03-26 23:03:23 +0000
commit84db9105d24a326f35054f103fbb468eb6d9bfeb (patch)
treef2d1a6c18e9f3b6843cba0e65ed5c89ac3fbbfcd /lldb/source/Core/ValueObjectMemory.cpp
parent98e5d863ad3515ff119d120a1eb40c1c6a345443 (diff)
downloadbcm5719-llvm-84db9105d24a326f35054f103fbb468eb6d9bfeb.tar.gz
bcm5719-llvm-84db9105d24a326f35054f103fbb468eb6d9bfeb.zip
<rdar://problem/11113279>
Fixed type lookups to "do the right thing". Prior to this fix, looking up a type using "foo::bar" would result in a type list that contains all types that had "bar" as a basename unless the symbol file was able to match fully qualified names (which our DWARF parser does not). This fix will allow type matches to be made based on the basename and then have the types that don't match filtered out. Types by name can be fully qualified, or partially qualified with the new "bool exact_match" parameter to the Module::FindTypes() method. This fixes some issue that we discovered with dynamic type resolution as well as improves the overall type lookups in LLDB. llvm-svn: 153482
Diffstat (limited to 'lldb/source/Core/ValueObjectMemory.cpp')
-rw-r--r--lldb/source/Core/ValueObjectMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectMemory.cpp b/lldb/source/Core/ValueObjectMemory.cpp
index 960895fa66e..7b3dbf2f307 100644
--- a/lldb/source/Core/ValueObjectMemory.cpp
+++ b/lldb/source/Core/ValueObjectMemory.cpp
@@ -143,7 +143,7 @@ ValueObjectMemory::GetTypeName()
{
if (m_type_sp)
return m_type_sp->GetName();
- return ClangASTType::GetConstTypeName (m_clang_type.GetOpaqueQualType());
+ return ClangASTType::GetConstTypeName (GetClangAST(), m_clang_type.GetOpaqueQualType());
}
uint32_t
OpenPOWER on IntegriCloud