[Lldb-commits] [lldb] r140921 - /lldb/trunk/source/Core/ValueObjectVariable.cpp

Greg Clayton gclayton at apple.com
Fri Sep 30 18:53:21 PDT 2011


Author: gclayton
Date: Fri Sep 30 20:53:20 2011
New Revision: 140921

URL: http://llvm.org/viewvc/llvm-project?rev=140921&view=rev
Log:
Fixed an issue where a variable whose value is in a register might end up
not saying that its children are load addresses.


Modified:
    lldb/trunk/source/Core/ValueObjectVariable.cpp

Modified: lldb/trunk/source/Core/ValueObjectVariable.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObjectVariable.cpp?rev=140921&r1=140920&r2=140921&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObjectVariable.cpp (original)
+++ lldb/trunk/source/Core/ValueObjectVariable.cpp Fri Sep 30 20:53:20 2011
@@ -156,11 +156,8 @@
                     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;
             }
 





More information about the lldb-commits mailing list