Print the tool name when an error comes from so that I can tell which

tool of a pipeline is having issues.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3167 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2002-07-30 21:43:22 +00:00
parent fa03cc7d68
commit 50e3a20b54
5 changed files with 17 additions and 12 deletions

View File

@@ -92,7 +92,7 @@ int main(int argc, char **argv) {
std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename));
if (M.get() == 0) {
std::cerr << "bytecode didn't read correctly.\n";
std::cerr << argv[0] << ": bytecode didn't read correctly.\n";
return 1;
}