projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0d16727
)
no need to check readability here
author
Chris Lattner
<sabre@nondot.org>
Tue, 1 Aug 2006 18:22:21 +0000
(18:22 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/tools/llvm-nm/llvm-nm.cpp
b/tools/llvm-nm/llvm-nm.cpp
index 420c9eac2f6475613b65e9c745a0078cf52ef636..3e439537962f5a18a2d8737bc2c75c9099c6eb96 100644
(file)
--- 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;