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

Misha Brukman brukman at cs.uiuc.edu
Mon Mar 1 19:33:36 PST 2004


Changes in directory llvm/tools/llvm-nm:

llvm-nm.cpp updated: 1.11 -> 1.11.4.1

---
Log message:

Merge from trunk

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

Index: llvm/tools/llvm-nm/llvm-nm.cpp
diff -u llvm/tools/llvm-nm/llvm-nm.cpp:1.11 llvm/tools/llvm-nm/llvm-nm.cpp:1.11.4.1
--- llvm/tools/llvm-nm/llvm-nm.cpp:1.11	Wed Nov 19 16:15:00 2003
+++ llvm/tools/llvm-nm/llvm-nm.cpp	Mon Mar  1 17:59:18 2004
@@ -20,6 +20,7 @@
 #include "llvm/Bytecode/Reader.h"
 #include "Support/CommandLine.h"
 #include "Support/FileUtilities.h"
+#include "Support/Signals.h"
 #include <cctype>
 #include <cstring>
 
@@ -146,6 +147,8 @@
 
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm symbol table dumper\n");
+  PrintStackTraceOnErrorSignal();
+
   ToolName = argv[0];
   if (BSDFormat) OutputFormat = bsd;
   if (POSIXFormat) OutputFormat = posix;





More information about the llvm-commits mailing list