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

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


Changes in directory llvm/tools/llc:

llc.cpp updated: 1.91 -> 1.92

---
Log message:

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


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

Index: llvm/tools/llc/llc.cpp
diff -u llvm/tools/llc/llc.cpp:1.91 llvm/tools/llc/llc.cpp:1.92
--- llvm/tools/llc/llc.cpp:1.91	Sun Feb 15 16:54:19 2004
+++ llvm/tools/llc/llc.cpp	Thu Feb 19 14:32:38 2004
@@ -69,7 +69,8 @@
 //
 int main(int argc, char **argv) {
   cl::ParseCommandLineOptions(argc, argv, " llvm system compiler\n");
-  
+  PrintStackTraceOnErrorSignal();
+
   // Load the module to be compiled...
   std::auto_ptr<Module> M(ParseBytecodeFile(InputFilename));
   if (M.get() == 0) {





More information about the llvm-commits mailing list