[PATCH] D27973: [ELF] - Do not call fatal() in Target.cpp, call error() instead.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 20 06:28:42 PST 2016


grimar added a comment.

In https://reviews.llvm.org/D27973#627788, @davide wrote:

> Instead of checking in a binary, I'll see if you can craft a broken object using `yaml2obj`.
>  I'm not a huge fan of the tool itself, but I find this a very legitimate usecase for it (creating broken binaries).


No it looks not possible. It showed me a error when I tried to create a relocation using numeric value and not a pre-defined enum. So I believe it is a unreasonable limitaion of yaml2obj now.


https://reviews.llvm.org/D27973





More information about the llvm-commits mailing list