summaryrefslogtreecommitdiffstats
path: root/lldb/source/DataFormatters/LibCxxVector.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2014-12-09 19:51:20 +0000
committerEnrico Granata <egranata@apple.com>2014-12-09 19:51:20 +0000
commite29df230cdcd00bb718bade706494aa3183547da (patch)
treefbce058584b6eb7f85493598a63fe5198068905f /lldb/source/DataFormatters/LibCxxVector.cpp
parentc6f314b8ed06eec96cace55a293f3a59e914d9d0 (diff)
downloadbcm5719-llvm-e29df230cdcd00bb718bade706494aa3183547da.tar.gz
bcm5719-llvm-e29df230cdcd00bb718bade706494aa3183547da.zip
This patch does a few things:
- adds a new flag to mark ValueObjects as "synthetic children generated" - vends new Create functions as part of the SyntheticChildrenFrontEnd that set the flag automatically - moves synthetic child providers over to using these new functions No visible feature change, but preparatory work for feature change llvm-svn: 223819
Diffstat (limited to 'lldb/source/DataFormatters/LibCxxVector.cpp')
-rw-r--r--lldb/source/DataFormatters/LibCxxVector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/LibCxxVector.cpp b/lldb/source/DataFormatters/LibCxxVector.cpp
index 3d488421915..26c62afbed2 100644
--- a/lldb/source/DataFormatters/LibCxxVector.cpp
+++ b/lldb/source/DataFormatters/LibCxxVector.cpp
@@ -98,7 +98,7 @@ lldb_private::formatters::LibcxxStdVectorSyntheticFrontEnd::GetChildAtIndex (siz
offset = offset + m_start->GetValueAsUnsigned(0);
StreamString name;
name.Printf("[%" PRIu64 "]", (uint64_t)idx);
- ValueObjectSP child_sp = ValueObject::CreateValueObjectFromAddress(name.GetData(), offset, m_backend.GetExecutionContextRef(), m_element_type);
+ ValueObjectSP child_sp = CreateValueObjectFromAddress(name.GetData(), offset, m_backend.GetExecutionContextRef(), m_element_type);
m_children[idx] = child_sp;
return child_sp;
}
OpenPOWER on IntegriCloud