Merge "Fix ordering of checks based on llvm-readobj output."

This commit is contained in:
Treehugger Robot 2020-09-23 08:54:19 +00:00 committed by Gerrit Code Review
commit 08ba15ef32
1 changed files with 1 additions and 1 deletions

View File

@ -207,8 +207,8 @@ class ELFParser(object):
def _parse_llvm_readobj(cls, elf_file_path, header, lines): def _parse_llvm_readobj(cls, elf_file_path, header, lines):
"""Parse the output of llvm-readobj.""" """Parse the output of llvm-readobj."""
lines_it = iter(lines) lines_it = iter(lines)
imported, exported = cls._parse_dynamic_symbols(lines_it)
dt_soname, dt_needed = cls._parse_dynamic_table(elf_file_path, lines_it) dt_soname, dt_needed = cls._parse_dynamic_table(elf_file_path, lines_it)
imported, exported = cls._parse_dynamic_symbols(lines_it)
return ELF(dt_soname, dt_needed, imported, exported, header) return ELF(dt_soname, dt_needed, imported, exported, header)