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

Chris Lattner lattner at cs.uiuc.edu
Thu Feb 19 14:36:12 PST 2004


Changes in directory llvm/tools/llvm-as:

llvm-as.cpp updated: 1.25 -> 1.26

---
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-as/llvm-as.cpp
diff -u llvm/tools/llvm-as/llvm-as.cpp:1.25 llvm/tools/llvm-as/llvm-as.cpp:1.26
--- llvm/tools/llvm-as/llvm-as.cpp:1.25	Tue Nov 11 16:41:34 2003
+++ llvm/tools/llvm-as/llvm-as.cpp	Thu Feb 19 14:32:12 2004
@@ -45,6 +45,7 @@
 
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm .ll -> .bc assembler\n");
+  PrintStackTraceOnErrorSignal();
 
   std::ostream *Out = 0;
   try {





More information about the llvm-commits mailing list