[Lldb-commits] [lldb] r132582 - /lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Peter Collingbourne
peter at pcc.me.uk
Fri Jun 3 13:39:58 PDT 2011
Author: pcc
Date: Fri Jun 3 15:39:58 2011
New Revision: 132582
URL: http://llvm.org/viewvc/llvm-project?rev=132582&view=rev
Log:
Scan dynamic symbol table of ELF object files
Modified:
lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
Modified: lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp?rev=132582&r1=132581&r2=132582&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp Fri Jun 3 15:39:58 2011
@@ -1085,7 +1085,7 @@
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);
More information about the lldb-commits
mailing list