Output the program name (in this case, gccld) with warning about invalid files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17638 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-11-09 04:24:59 +00:00
parent a591457857
commit 669b524399
2 changed files with 4 additions and 2 deletions

View File

@ -346,7 +346,8 @@ bool llvm::LinkFiles(const char *progname, Module *HeadModule,
return true; return true;
} }
} else { } else {
std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n"; std::cerr << progname << ": Warning: invalid file `" << Pathname
<< "' ignored.\n";
} }
} }

View File

@ -346,7 +346,8 @@ bool llvm::LinkFiles(const char *progname, Module *HeadModule,
return true; return true;
} }
} else { } else {
std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n"; std::cerr << progname << ": Warning: invalid file `" << Pathname
<< "' ignored.\n";
} }
} }