summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/FormatEntity.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-03-12 22:17:07 +0000
committerEnrico Granata <egranata@apple.com>2015-03-12 22:17:07 +0000
commit495dccd67f94e791d9b84fdcac1cdea4f303ea71 (patch)
tree8bf0089a68eba1bb8fc5b1f490a1f1532820ca95 /lldb/source/Core/FormatEntity.cpp
parent3fa6dc904a58c8433add5576025e48eab8cbad10 (diff)
downloadbcm5719-llvm-495dccd67f94e791d9b84fdcac1cdea4f303ea71.tar.gz
bcm5719-llvm-495dccd67f94e791d9b84fdcac1cdea4f303ea71.zip
Fix a bug in the data formatters where summary strings would not look into the non-synthetic value for child members if the ValueObject being formatted happened to have a synthetic value
rdar://15630776 llvm-svn: 232114
Diffstat (limited to 'lldb/source/Core/FormatEntity.cpp')
-rw-r--r--lldb/source/Core/FormatEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/FormatEntity.cpp b/lldb/source/Core/FormatEntity.cpp
index 20190bbdb85..ef3711044eb 100644
--- a/lldb/source/Core/FormatEntity.cpp
+++ b/lldb/source/Core/FormatEntity.cpp
@@ -766,7 +766,7 @@ DumpValue (Stream &s,
ValueObject::ExpressionPathAftermath what_next = (do_deref_pointer ?
ValueObject::eExpressionPathAftermathDereference : ValueObject::eExpressionPathAftermathNothing);
ValueObject::GetValueForExpressionPathOptions options;
- options.DontCheckDotVsArrowSyntax().DoAllowBitfieldSyntax().DoAllowFragileIVar().DoAllowSyntheticChildren();
+ options.DontCheckDotVsArrowSyntax().DoAllowBitfieldSyntax().DoAllowFragileIVar().SetSyntheticChildrenTraversal(ValueObject::GetValueForExpressionPathOptions::SyntheticChildrenTraversal::Both);
ValueObject* target = NULL;
const char* var_name_final_if_array_range = NULL;
size_t close_bracket_index = llvm::StringRef::npos;
OpenPOWER on IntegriCloud