1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-04-13 15:37:24 +00:00

Don't silently ignore invalid files: tell the user!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-11-08 22:03:10 +00:00
parent ac6d4854e1
commit eda20f933b
2 changed files with 4 additions and 0 deletions
lib/Linker
tools/gccld

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

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