From e2f8841d340bb755de8e3dbc96eb1d4ec84cae98 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 15 Oct 2010 22:47:36 +0000 Subject: [PATCH] Mark a ValueObjectConstResult as valid if it is created with some data, don't wait till it gets updated. llvm-svn: 116633 --- lldb/source/Core/ValueObjectConstResult.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Core/ValueObjectConstResult.cpp b/lldb/source/Core/ValueObjectConstResult.cpp index 173eb55c39dd..93e2d3eb05a3 100644 --- a/lldb/source/Core/ValueObjectConstResult.cpp +++ b/lldb/source/Core/ValueObjectConstResult.cpp @@ -47,6 +47,7 @@ ValueObjectConstResult::ValueObjectConstResult m_value.SetContext(Value::eContextTypeOpaqueClangQualType, clang_type); m_name = name; SetIsConstant (); + SetValueIsValid(true); } ValueObjectConstResult::ValueObjectConstResult (const Error& error) :