summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-06-03 20:39:58 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-06-03 20:39:58 +0000
commitb4aabeb8d72692d85292f435881476cc42ae8b6c (patch)
treeec037dd909f8ebc9b3bbb12908cac42c4022568a /lldb/source/Plugins/ObjectFile
parentb8bf3c0f8bc4b1e4991c5d8f3b46d6de5befffc4 (diff)
downloadbcm5719-llvm-b4aabeb8d72692d85292f435881476cc42ae8b6c.tar.gz
bcm5719-llvm-b4aabeb8d72692d85292f435881476cc42ae8b6c.zip
Scan dynamic symbol table of ELF object files
llvm-svn: 132582
Diffstat (limited to 'lldb/source/Plugins/ObjectFile')
-rw-r--r--lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
index d24ebd44c73..2e300a10d89 100644
--- a/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
+++ b/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
@@ -1085,7 +1085,7 @@ ObjectFileELF::GetSymtab()
for (SectionHeaderCollIter I = m_section_headers.begin();
I != m_section_headers.end(); ++I)
{
- if (I->sh_type == SHT_SYMTAB)
+ if (I->sh_type == SHT_SYMTAB || I->sh_type == SHT_DYNSYM)
{
const ELFSectionHeader &symtab_header = *I;
user_id_t section_id = SectionIndex(I);
OpenPOWER on IntegriCloud