[llvm-mc] More meaningful error if input file doesn't exist.
authorDavide Italiano <davide@freebsd.org>
Sun, 13 Sep 2015 04:09:40 +0000 (04:09 +0000)
committerDavide Italiano <davide@freebsd.org>
Sun, 13 Sep 2015 04:09:40 +0000 (04:09 +0000)
commit92148557f742d66f10aa9c3ceb853e4384bcf1a6
tree4e698a3e3321a82e208cc643b176b590462cb225
parentd8fd22b7ecbedbd9a11031110f76b81cf831c727
[llvm-mc] More meaningful error if input file doesn't exist.

Before we just printed on stderr the program name. Now at least we
print the name of the file that doesn't exist. There's probably room
for improvement of error handling in llvm-mc (and the tools in general),
but still this is a step forward.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247518 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-mc/llvm-mc.cpp