Changes in directory llvm/tools/llvm-nm:

llvm-nm.cpp updated: 1.32 -> 1.33
---
Log message:

Remove some non-sensical logic that prevented llvm-nm from working on any
file other than one named "-".


---
Diffs of the changes:  (+0 -5)

 llvm-nm.cpp |    5 -----
 1 files changed, 5 deletions(-)


Index: llvm/tools/llvm-nm/llvm-nm.cpp
diff -u llvm/tools/llvm-nm/llvm-nm.cpp:1.32 llvm/tools/llvm-nm/llvm-nm.cpp:1.33
--- llvm/tools/llvm-nm/llvm-nm.cpp:1.32 Sun Mar  4 18:00:42 2007
+++ llvm/tools/llvm-nm/llvm-nm.cpp      Thu Mar 29 14:49:07 2007
@@ -121,11 +121,6 @@
 static void DumpSymbolNamesFromFile(std::string &Filename) {
   std::string ErrorMessage;
   sys::Path aPath(Filename);
-  if (Filename != "-") {
-    std::cerr << ToolName << ": " << Filename << ": " << strerror (errno)
-              << "\n";
-    return;
-  }
   // Note: Currently we do not support reading an archive from stdin.
   if (Filename == "-" || aPath.isBytecodeFile()) {
     Module *Result = ParseBytecodeFile(Filename,



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to