From: Chris Lattner Date: Tue, 1 Aug 2006 18:22:21 +0000 (+0000) Subject: no need to check readability here X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=2f2d32437a2bb55bb1dda4805a6ba743183f02a2;p=oota-llvm.git no need to check readability here git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29449 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp index 420c9eac2f6..3e439537962 100644 --- a/tools/llvm-nm/llvm-nm.cpp +++ b/tools/llvm-nm/llvm-nm.cpp @@ -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;