Skip to content

Commit d825321

Browse files
committed
Update copy of code in UpdateValue from DoUpdateChildrenAddressType
The swift version of ValueObjectVariable.cpp has a copy of the code in ValueObjectVariable::DoUpdateChildrenAddressType in ValueObjectVariable::UpdateValue, and the copied bit of code didn't pick up an update.
1 parent d0e2007 commit d825321

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/source/Core/ValueObjectVariable.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ bool ValueObjectVariable::UpdateValue() {
220220
(type_info & (lldb::eTypeIsPointer | lldb::eTypeIsReference)) != 0;
221221

222222
switch (value_type) {
223+
case Value::ValueType::Invalid:
224+
break;
223225
case Value::ValueType::FileAddress:
224226
// If this type is a pointer, then its children will be considered load
225227
// addresses if the pointer or reference is dereferenced, but only if

0 commit comments

Comments
 (0)