[Lldb-commits] [lldb] r146317 - /lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp
Sean Callanan
scallanan at apple.com
Fri Dec 9 20:03:38 PST 2011
Author: spyffe
Date: Fri Dec 9 22:03:38 2011
New Revision: 146317
URL: http://llvm.org/viewvc/llvm-project?rev=146317&view=rev
Log:
Fixed a problem where if a frame was present the
expression parser would never try getting typed
variables from the target.
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=146317&r1=146316&r2=146317&view=diff
==============================================================================
--- lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp (original)
+++ lldb/trunk/source/Expression/ClangExpressionDeclMap.cpp Fri Dec 9 22:03:38 2011
@@ -2541,7 +2541,8 @@
return;
}
}
- else if (target)
+
+ if (target)
{
var = FindGlobalVariable (*target,
module_sp,
@@ -2554,6 +2555,7 @@
valobj = ValueObjectVariable::Create(target, var);
AddOneVariable(context, var, valobj, current_id);
context.m_found.variable = true;
+ return;
}
}
More information about the lldb-commits
mailing list