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

Chris Lattner lattner at cs.uiuc.edu
Thu Feb 19 14:49:07 PST 2004


Changes in directory llvm/tools/llvm-link:

llvm-link.cpp updated: 1.34 -> 1.35

---
Log message:

Make sure to print a stack trace whenever an error signal is delivered to the
tool.


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

Index: llvm/tools/llvm-link/llvm-link.cpp
diff -u llvm/tools/llvm-link/llvm-link.cpp:1.34 llvm/tools/llvm-link/llvm-link.cpp:1.35
--- llvm/tools/llvm-link/llvm-link.cpp:1.34	Tue Dec 30 01:48:17 2003
+++ llvm/tools/llvm-link/llvm-link.cpp	Thu Feb 19 14:32:12 2004
@@ -84,6 +84,7 @@
 
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm linker\n");
+  PrintStackTraceOnErrorSignal();
   assert(InputFilenames.size() > 0 && "OneOrMore is not working");
 
   unsigned BaseArg = 0;





More information about the llvm-commits mailing list