[llvm-commits] CVS: llvm/tools/llvm-nm/llvm-nm.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 1 11:22:37 PDT 2006
Changes in directory llvm/tools/llvm-nm:
llvm-nm.cpp updated: 1.27 -> 1.28
---
Log message:
no need to check readability here
---
Diffs of the changes: (+1 -1)
llvm-nm.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/llvm-nm/llvm-nm.cpp
diff -u llvm/tools/llvm-nm/llvm-nm.cpp:1.27 llvm/tools/llvm-nm/llvm-nm.cpp:1.28
--- llvm/tools/llvm-nm/llvm-nm.cpp:1.27 Fri Jul 7 15:56:50 2006
+++ llvm/tools/llvm-nm/llvm-nm.cpp Tue Aug 1 13:22:21 2006
@@ -119,7 +119,7 @@
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;
More information about the llvm-commits
mailing list