summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectConstResultImpl.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2016-02-29 21:06:50 +0000
committerEnrico Granata <egranata@apple.com>2016-02-29 21:06:50 +0000
commit936499ae4cdb4f4601e7c0561be4fdd8a05fb04e (patch)
treee13ec0486f4aa93c27db533c4b0d8e6354a46449 /lldb/source/Core/ValueObjectConstResultImpl.cpp
parent9e5a9c32db75bbffa874a87d9835c61cff1ee5cd (diff)
downloadbcm5719-llvm-936499ae4cdb4f4601e7c0561be4fdd8a05fb04e.tar.gz
bcm5719-llvm-936499ae4cdb4f4601e7c0561be4fdd8a05fb04e.zip
Add an LLDB data formatter for single-element NSArray and NSDictionary Cocoa containers
Fixes rdar://23715118 llvm-svn: 262254
Diffstat (limited to 'lldb/source/Core/ValueObjectConstResultImpl.cpp')
-rw-r--r--lldb/source/Core/ValueObjectConstResultImpl.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/lldb/source/Core/ValueObjectConstResultImpl.cpp b/lldb/source/Core/ValueObjectConstResultImpl.cpp
index 85ac3f2c5fe..6db7f184da8 100644
--- a/lldb/source/Core/ValueObjectConstResultImpl.cpp
+++ b/lldb/source/Core/ValueObjectConstResultImpl.cpp
@@ -117,12 +117,18 @@ ValueObjectConstResultImpl::CreateChildAtIndex (size_t idx, bool synthetic_array
}
lldb::ValueObjectSP
-ValueObjectConstResultImpl::GetSyntheticChildAtOffset (uint32_t offset, const CompilerType& type, bool can_create)
+ValueObjectConstResultImpl::GetSyntheticChildAtOffset (uint32_t offset,
+ const CompilerType& type,
+ bool can_create,
+ ConstString name_const_str)
{
if (m_impl_backend == NULL)
return lldb::ValueObjectSP();
- return m_impl_backend->ValueObject::GetSyntheticChildAtOffset(offset, type, can_create);
+ return m_impl_backend->ValueObject::GetSyntheticChildAtOffset(offset,
+ type,
+ can_create,
+ name_const_str);
}
lldb::ValueObjectSP
OpenPOWER on IntegriCloud