HomePhabricator

[llvm-objcopy] - Use replaceSectionReferences to update the sections for…

Authored by grimar on Mar 20 2019, 6:57 AM.

Description

[llvm-objcopy] - Use replaceSectionReferences to update the sections for symbols in symbol table.

If the compression was used and we had a symbol not involved in relocation,
we never updated its section and it was silently removed from the output.

Differential revision: https://reviews.llvm.org/D59542

llvm-svn: 356554