[PATCH] D26970: [ELF] Refactor several fatal error messages
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 08:27:49 PST 2016
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: ELF/InputFiles.cpp:784
else
- fatal("invalid file class: " + MB.getBufferIdentifier());
+ fatal(MB.getBufferIdentifier() + ": invalid file class");
----------------
This should be llvm_unreachable.
Repository:
rL LLVM
https://reviews.llvm.org/D26970
More information about the llvm-commits
mailing list