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

Chris Lattner lattner at cs.uiuc.edu
Thu Feb 19 15:01:42 PST 2004


Changes in directory llvm/tools/gccas:

gccas.cpp updated: 1.92 -> 1.93

---
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/gccas/gccas.cpp
diff -u llvm/tools/gccas/gccas.cpp:1.92 llvm/tools/gccas/gccas.cpp:1.93
--- llvm/tools/gccas/gccas.cpp:1.92	Sun Feb  1 01:24:53 2004
+++ llvm/tools/gccas/gccas.cpp	Thu Feb 19 14:32:39 2004
@@ -107,6 +107,7 @@
 
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm .s -> .o assembler for GCC\n");
+  PrintStackTraceOnErrorSignal();
 
   std::auto_ptr<Module> M;
   try {





More information about the llvm-commits mailing list