SuccessChanges

Summary

  1. [llvm-objcopy] - Do not crash on object that has relocations but no (details)
Commit a795bd96454402bbb4f5fcd186d4b112c8010000 by grimar
[llvm-objcopy] - Do not crash on object that has relocations but no
symbol table.
It was revealed by D69260.
Tool crashed when scanned relocations in a object without a symbol
table. This patch teaches it either to handle such objects (when
relocations does not use symbols we do not need a symbol table to
proceed) or to show an appropriate error otherwise.
Differential revision: https://reviews.llvm.org/D69304
The file was addedllvm/test/tools/llvm-objcopy/ELF/relocations-no-symtab.test
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/no-symbol-relocation.test