[PATCH] D25233: [ELF] - Do not crash when unable to parse ELF object file.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 05:31:36 PDT 2016


grimar added inline comments.


> InputFiles.cpp:60
>    if (EC)
>      error(EC, "failed to read " + MB.getBufferIdentifier());
>    return F;

I wonder may be we can just make this fatal() ?
It is not called when file not found, but only when there is something wrong with it.

https://reviews.llvm.org/D25233





More information about the llvm-commits mailing list