no need to check readability here

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29449 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-08-01 18:22:21 +00:00
parent 0d167276dd
commit 2f2d32437a

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;