forked from OSchip/llvm-project
Fix a thinko in StackFrame::GetInScopeVariableList.
Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D16745 llvm-svn: 259607
This commit is contained in:
parent
b87be6c327
commit
b90168ff41
|
@ -597,7 +597,7 @@ StackFrame::GetInScopeVariableList (bool get_file_globals)
|
|||
var_list_sp.get());
|
||||
}
|
||||
|
||||
if (m_sc.comp_unit)
|
||||
if (m_sc.comp_unit && get_file_globals)
|
||||
{
|
||||
VariableListSP global_variable_list_sp (m_sc.comp_unit->GetVariableList(true));
|
||||
if (global_variable_list_sp)
|
||||
|
|
Loading…
Reference in New Issue