Use the unified section list when generating a symbol table
authorPavel Labath <labath@google.com>
Wed, 4 Mar 2015 10:28:15 +0000 (10:28 +0000)
committerPavel Labath <labath@google.com>
Wed, 4 Mar 2015 10:28:15 +0000 (10:28 +0000)
commit783cbdcd89c30bb5f528e72b04b98ea94d7c7669
tree28d2d638530961206272b47cb6b757ff5124acf3
parentc6ae7eaa7b41031e87a4f807a18ee9b163409275
Use the unified section list when generating a symbol table

Summary:
Symbol table generation code was failing to take into account the debug symbols because
the object file was looking only into its own section list when doing the generation, even though
the debug symbols from another object file were correctly detected and loaded by the
SymbolVendor. This changes the code to use the unified section list, which fixes this problem.

Test Plan:
I do not intend do submit this yet since it causes (or more like, exposes) the issue
in D7884, but I wanted to put this out here, so that anyone who wants to take a look at it can do
so. (And I also wanted to know if this is the right approach to the problem :).

Reviewers: clayborg, zturner

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D7913

llvm-svn: 231229
lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp