[yaml2obj][obj2yaml][test] - Add base tests for relocation addends.
authorGeorgii Rymar <grimar@accesssoftek.com>
Mon, 2 Mar 2020 16:59:11 +0000 (19:59 +0300)
committerGeorgii Rymar <grimar@accesssoftek.com>
Fri, 13 Mar 2020 10:07:46 +0000 (13:07 +0300)
commit6f3de2e53d2994f51d4ee74150d0d91b555e4761
treedb3f5ecdf48d5e1144820147636deddf2494a8dc
parentf8640737d4767cb88225e84515a6a2bd992cb84f
[yaml2obj][obj2yaml][test] - Add base tests for relocation addends.

We had no test for `Addend` field of a relocation. Though the
current behavior is not ideal and might need to be fixed.

This patch adds 2 test cases to document the current
behavior and add a few FIXMEs. These FIXME are fixed in the
follow-up: https://reviews.llvm.org/D75527

Differential revision: https://reviews.llvm.org/D75528
llvm/test/tools/obj2yaml/relocation-addend.yaml [new file with mode: 0644]
llvm/test/tools/yaml2obj/ELF/relocation-addend.yaml [new file with mode: 0644]