[Lldb-commits] [lldb] r154593 - /lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
Sean Callanan
scallanan at apple.com
Thu Apr 12 09:58:27 PDT 2012
Author: spyffe
Date: Thu Apr 12 11:58:26 2012
New Revision: 154593
URL: http://llvm.org/viewvc/llvm-project?rev=154593&view=rev
Log:
Make sure frozen_sp for a ClangExpressionVariable
is non-NULL before asking for its name.
Modified:
lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
Modified: lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp?rev=154593&r1=154592&r2=154593&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp Thu Apr 12 11:58:26 2012
@@ -634,7 +634,8 @@
if (!member_sp ||
!member_sp->m_parser_vars.get() ||
- !member_sp->m_jit_vars.get())
+ !member_sp->m_jit_vars.get() ||
+ !member_sp->GetValueObject())
return false;
decl = member_sp->m_parser_vars->m_named_decl;
More information about the lldb-commits
mailing list