[Lldb-commits] [lldb] r116633 - /lldb/trunk/source/Core/ValueObjectConstResult.cpp

Jim Ingham jingham at apple.com
Fri Oct 15 15:47:37 PDT 2010


Author: jingham
Date: Fri Oct 15 17:47:36 2010
New Revision: 116633

URL: http://llvm.org/viewvc/llvm-project?rev=116633&view=rev
Log:
Mark a ValueObjectConstResult as valid if it is created with some data, don't wait till it gets updated.

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

Modified: lldb/trunk/source/Core/ValueObjectConstResult.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObjectConstResult.cpp?rev=116633&r1=116632&r2=116633&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObjectConstResult.cpp (original)
+++ lldb/trunk/source/Core/ValueObjectConstResult.cpp Fri Oct 15 17:47:36 2010
@@ -47,6 +47,7 @@
     m_value.SetContext(Value::eContextTypeOpaqueClangQualType, clang_type);
     m_name = name;
     SetIsConstant ();
+    SetValueIsValid(true);
 }
 
 ValueObjectConstResult::ValueObjectConstResult (const Error& error) :





More information about the lldb-commits mailing list