diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-01 18:22:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-01 18:22:21 +0000 |
commit | 2f2d32437a2bb55bb1dda4805a6ba743183f02a2 (patch) | |
tree | fe062881c6a2d59085e620a394f8f97e7d7cce9c /tools/llvm-nm | |
parent | 0d167276dddff2775d120c1a44842e0a3ecd283c (diff) | |
download | external_llvm-2f2d32437a2bb55bb1dda4805a6ba743183f02a2.zip external_llvm-2f2d32437a2bb55bb1dda4805a6ba743183f02a2.tar.gz external_llvm-2f2d32437a2bb55bb1dda4805a6ba743183f02a2.tar.bz2 |
no need to check readability here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29449 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-nm')
-rw-r--r-- | tools/llvm-nm/llvm-nm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp index 420c9ea..3e43953 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; |