summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile
diff options
context:
space:
mode:
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