1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

no need to check readability here

llvm-svn: 29449
This commit is contained in:
Chris Lattner 2006-08-01 18:22:21 +00:00
parent ceecdbc08e
commit bbcb37f911

View File

@ -119,7 +119,7 @@ void DumpSymbolNamesFromModule (Module *M) {
void DumpSymbolNamesFromFile (std::string &Filename) {
std::string ErrorMessage;
sys::Path aPath(Filename);
if (Filename != "-" && !aPath.canRead()) {
if (Filename != "-") {
std::cerr << ToolName << ": " << Filename << ": " << strerror (errno)
<< "\n";
return;