aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-10-01 01:53:20 +0000
committerGreg Clayton <gclayton@apple.com>2011-10-01 01:53:20 +0000
commit05e3b9efec15c300e50572112e179b9b5c74b2f9 (patch)
treeb968d60a4454d8761e20cd945fc8e8b8638d86ec /source
parent1913306529630b4b237370411f6ada49bfcb3347 (diff)
downloadlldb-05e3b9efec15c300e50572112e179b9b5c74b2f9.tar.gz
Fixed an issue where a variable whose value is in a register might end up
not saying that its children are load addresses. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@140921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source')
-rw-r--r--source/Core/ValueObjectVariable.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/Core/ValueObjectVariable.cpp b/source/Core/ValueObjectVariable.cpp
index bc5dd2612..58e37bdfc 100644
--- a/source/Core/ValueObjectVariable.cpp
+++ b/source/Core/ValueObjectVariable.cpp
@@ -156,11 +156,8 @@ ValueObjectVariable::UpdateValue ()
SetAddressTypeOfChildren(eAddressTypeHost);
break;
case Value::eValueTypeLoadAddress:
- SetAddressTypeOfChildren(eAddressTypeLoad);
- break;
case Value::eValueTypeScalar:
- // TODO: is this the right thing to do?
- SetAddressTypeOfChildren(eAddressTypeInvalid);
+ SetAddressTypeOfChildren(eAddressTypeLoad);
break;
}