[PATCH] D75671: [llvm-readobj][llvm-readelf][test] - Add a test to check how we dump relocation addends.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 5 04:24:25 PST 2020


grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: rupprecht, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.
grimar updated this revision to Diff 248431.
grimar added a comment.

- Removed unused "Offset: 0x0"


Seems we do not test how we print relocation addends well.
And the behavior of dumpers does not seem to be ideal here
(and llvm-readelf does not match GNU as the test case shows).

This patch adds a test case to document the current behavior.

Depends on D75527 <https://reviews.llvm.org/D75527> and D75608 <https://reviews.llvm.org/D75608>.


https://reviews.llvm.org/D75671

Files:
  llvm/test/tools/llvm-readobj/ELF/reloc-addends.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75671.248431.patch
Type: text/x-patch
Size: 8219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200305/4ace2b1b/attachment.bin>


More information about the llvm-commits mailing list