This patch separates the generic portion of ClangExpressionVariable, which
stores information about a variable that different parts of LLDB use, from the compiler-specific portion that only the expression parser cares about. http://reviews.llvm.org/D12602 llvm-svn: 246871
This commit is contained in:
@@ -956,7 +956,7 @@ SBFrame::FindValue (const char *name, ValueType value_type, lldb::DynamicValueTy
|
||||
case eValueTypeConstResult: // constant result variables
|
||||
{
|
||||
ConstString const_name(name);
|
||||
ClangExpressionVariableSP expr_var_sp (target->GetPersistentVariables().GetVariable (const_name));
|
||||
ExpressionVariableSP expr_var_sp (target->GetPersistentVariables().GetVariable (const_name));
|
||||
if (expr_var_sp)
|
||||
{
|
||||
value_sp = expr_var_sp->GetValueObject();
|
||||
|
||||
Reference in New Issue
Block a user