summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectConstResult.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/ValueObjectConstResult.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/ValueObjectConstResult.cpp')
-rw-r--r--lldb/source/Core/ValueObjectConstResult.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lldb/source/Core/ValueObjectConstResult.cpp b/lldb/source/Core/ValueObjectConstResult.cpp
index a0f1737a861..441cee540f7 100644
--- a/lldb/source/Core/ValueObjectConstResult.cpp
+++ b/lldb/source/Core/ValueObjectConstResult.cpp
@@ -314,9 +314,12 @@ ValueObjectConstResult::Dereference (Error &error)
}
lldb::ValueObjectSP
-ValueObjectConstResult::GetSyntheticChildAtOffset(uint32_t offset, const CompilerType& type, bool can_create)
+ValueObjectConstResult::GetSyntheticChildAtOffset(uint32_t offset,
+ const CompilerType& type,
+ bool can_create,
+ ConstString name_const_str)
{
- return m_impl.GetSyntheticChildAtOffset(offset, type, can_create);
+ return m_impl.GetSyntheticChildAtOffset(offset, type, can_create, name_const_str);
}
lldb::ValueObjectSP
OpenPOWER on IntegriCloud