mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 23:45:25 +08:00
Scan dynamic symbol table of ELF object files
llvm-svn: 132582
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user