From 05e3b9efec15c300e50572112e179b9b5c74b2f9 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Sat, 1 Oct 2011 01:53:20 +0000 Subject: 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 --- source/Core/ValueObjectVariable.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source') 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; } -- cgit v1.2.3