[llvm-commits] CVS: llvm/tools/llvm-nm/llvm-nm.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Nov 19 15:58:01 PST 2003


Changes in directory llvm/tools/llvm-nm:

llvm-nm.cpp updated: 1.9 -> 1.10

---
Log message:

Also print an error msg. for files we cannot currently deal with.


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

Index: llvm/tools/llvm-nm/llvm-nm.cpp
diff -u llvm/tools/llvm-nm/llvm-nm.cpp:1.9 llvm/tools/llvm-nm/llvm-nm.cpp:1.10
--- llvm/tools/llvm-nm/llvm-nm.cpp:1.9	Wed Nov 19 15:52:09 2003
+++ llvm/tools/llvm-nm/llvm-nm.cpp	Wed Nov 19 15:57:30 2003
@@ -136,6 +136,10 @@
     }
     MultipleFiles = true;
     std::for_each (Modules.begin (), Modules.end (), DumpSymbolNamesFromModule);
+  } else {
+    std::cerr << ToolName << ": " << Filename << ": "
+              << "unrecognizable file type\n";
+    return;
   }
 }
 





More information about the llvm-commits mailing list