mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 05:00:39 +00:00
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:
parent
a591457857
commit
669b524399
@ -346,7 +346,8 @@ bool llvm::LinkFiles(const char *progname, Module *HeadModule,
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n";
|
||||
std::cerr << progname << ": Warning: invalid file `" << Pathname
|
||||
<< "' ignored.\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -346,7 +346,8 @@ bool llvm::LinkFiles(const char *progname, Module *HeadModule,
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
std::cerr << "Warning: invalid file `" << Pathname << "' ignored.\n";
|
||||
std::cerr << progname << ": Warning: invalid file `" << Pathname
|
||||
<< "' ignored.\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user