diff options
author | George Rimar <grimar@accesssoftek.com> | 2019-09-20 09:15:36 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2019-09-20 09:15:36 +0000 |
commit | 4d69967f44116b4ad4b2810633045ffed119f7c3 (patch) | |
tree | a603672392fbd263b425fafb5856b34057139612 /llvm/lib/TextAPI/MachO/InterfaceFile.cpp | |
parent | 15e27b0b6d9d51362fad85dbe95ac5b3fadf0a06 (diff) | |
download | llvm-4d69967f44116b4ad4b2810633045ffed119f7c3.zip llvm-4d69967f44116b4ad4b2810633045ffed119f7c3.tar.gz llvm-4d69967f44116b4ad4b2810633045ffed119f7c3.tar.bz2 |
[yaml2obj/obj2yaml] - Do not trigger llvm_unreachable when dumping/parsing relocations and e_machine is unsupported.
Currently when e_machine is set to something that is not supported by YAML lib,
then tools fail with llvm_unreachable.
In this patch I allow them to handle relocations in this case.
It can be used to dump and create objects for broken or unsupported targets.
Differential revision: https://reviews.llvm.org/D67657
llvm-svn: 372377
Diffstat (limited to 'llvm/lib/TextAPI/MachO/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions