Merge "Fix ordering of checks based on llvm-readobj output."
This commit is contained in:
commit
08ba15ef32
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue