no need to check readability here
authorChris Lattner <sabre@nondot.org>
Tue, 1 Aug 2006 18:22:21 +0000 (18:22 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 1 Aug 2006 18:22:21 +0000 (18:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29449 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-nm/llvm-nm.cpp

index 420c9eac2f6475613b65e9c745a0078cf52ef636..3e439537962f5a18a2d8737bc2c75c9099c6eb96 100644 (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;