SuccessChanges

Summary

  1. [llvm/Object] - Make ELFObjectFile::getRelocatedSection return (details)
Commit 2bf01dcbaa6723c9c41f8d6005a1f69818ddbd23 by grimar
[llvm/Object] - Make ELFObjectFile::getRelocatedSection return
Expected<section_iterator>
It returns just a section_iterator currently and have a
report_fatal_error call inside. This change adds a way to return errors
and handle them on caller sides.
The patch also changes/improves current users and adds test cases.
Differential revision: https://reviews.llvm.org/D69167
llvm-svn: 375408
The file was modifiedllvm/test/tools/llvm-readobj/stack-sizes.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFContext.cpp
The file was addedllvm/test/tools/llvm-dwarfdump/elf-broken-reloc-target.yaml
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
The file was modifiedllvm/lib/Object/ObjectFile.cpp
The file was addedllvm/test/tools/llvm-cxxdump/broken-reloc-sec.test
The file was modifiedllvm/include/llvm/Object/ELFObjectFile.h
The file was modifiedllvm/test/tools/llvm-objdump/X86/elf-disassemble-relocs.test
The file was modifiedllvm/tools/llvm-cxxdump/llvm-cxxdump.cpp
The file was modifiedllvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
The file was modifiedllvm/include/llvm/Object/ObjectFile.h
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/test/tools/llvm-objdump/relocations-elf.test