projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b87be6c
)
Fix a thinko in StackFrame::GetInScopeVariableList.
author
Siva Chandra
<sivachandra@google.com>
Tue, 2 Feb 2016 23:49:41 +0000
(23:49 +0000)
committer
Siva Chandra
<sivachandra@google.com>
Tue, 2 Feb 2016 23:49:41 +0000
(23:49 +0000)
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D16745
llvm-svn: 259607
lldb/source/Target/StackFrame.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/StackFrame.cpp
b/lldb/source/Target/StackFrame.cpp
index
e835521
..
ab6fe25
100644
(file)
--- a/
lldb/source/Target/StackFrame.cpp
+++ b/
lldb/source/Target/StackFrame.cpp
@@
-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)