This is a follow-up for https://reviews.llvm.org/D74545.
It adds test cases for each incorrect case returned in getRelocationTarget.
Paths
| Differential D74595
[llvm-readobj] - Report warnings instead of errors for broken relocations. ClosedPublic Authored by grimar on Feb 14 2020, 1:52 AM.
Details Summary This is a follow-up for https://reviews.llvm.org/D74545. It adds test cases for each incorrect case returned in getRelocationTarget.
Diff Detail Event Timeline
grimar marked 5 inline comments as done. Comment Actions
grimar marked 4 inline comments as done. Comment Actions
grimar marked 2 inline comments as done. Comment Actions
This revision is now accepted and ready to land.Feb 27 2020, 10:36 AM Closed by commit rG0b511c230213: [llvm-readobj] - Report warnings instead of errors for broken relocations. (authored by grimar). · Explain WhyFeb 29 2020, 1:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 244868 llvm/include/llvm/Object/ELF.h
llvm/test/Object/invalid.test
llvm/test/tools/llvm-readobj/ELF/relocation-errors.test
llvm/tools/llvm-readobj/ELFDumper.cpp
|
We probably should split invalid.test. For example, segments related errors and sections related errors can be separated.