[Lldb-commits] [PATCH] D16745: Fix a thinko in StackFrame::GetInScopeVariableList.

Siva Chandra via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 29 18:11:10 PST 2016


sivachandra created this revision.
sivachandra added a reviewer: clayborg.
sivachandra added a subscriber: lldb-commits.

http://reviews.llvm.org/D16745

Files:
  source/Target/StackFrame.cpp

Index: source/Target/StackFrame.cpp
===================================================================
--- source/Target/StackFrame.cpp
+++ source/Target/StackFrame.cpp
@@ -597,7 +597,7 @@
                                      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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16745.46459.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160130/6a6807fe/attachment-0001.bin>


More information about the lldb-commits mailing list