[obj2yaml] - Support PPC64 relocation types.
commit805c8789da19a2ff6ec8b1bf04f9bc6cd2c2e11a
authorGeorge Rimar <grimar@accesssoftek.com>
Tue, 17 Sep 2019 12:00:55 +0000 (17 12:00 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Tue, 17 Sep 2019 12:00:55 +0000 (17 12:00 +0000)
treed47a601491ad68a0c1496a03855347b47255af0f
parent04bd50776a71dfa89900e74d90da3789a83fa318
[obj2yaml] - Support PPC64 relocation types.

We do not support them and fail with llvm_unreachable currently.
This is not the only target we do not support and also seems we are missing
the tests for those we have already. But I needed this one for another patch,
so posted it separatelly.

Relocation names are taken from llvm\include\llvm\BinaryFormat\ELFRelocs\PowerPC64.def

Differential revision: https://reviews.llvm.org/D67615

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372109 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ObjectYAML/ELFYAML.cpp
test/tools/obj2yaml/elf-ppc64-relocations.yaml [new file with mode: 0644]