[Lldb-commits] [PATCH] D14538: Fix DwarfSymbolFile when appending global functions from different modules

Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 10 06:13:34 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL252605: Differential Revision: http://reviews.llvm.org/D14538 (authored by aidandodds).

Changed prior to commit:
  http://reviews.llvm.org/D14538?vs=39802&id=39809#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14538

Files:
  lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp

Index: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
===================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -2711,7 +2711,7 @@
             // TODO: The arch in the object file isn't correct for MSVC
             // binaries on windows, we should find a way to make it
             // correct and handle those symbols as well.
-            if (sc_list.GetSize() == 0)
+            if (sc_list.GetSize() == original_size)
             {
                 ArchSpec arch;
                 if (!parent_decl_ctx &&


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14538.39809.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151110/f7820a28/attachment-0001.bin>


More information about the lldb-commits mailing list