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

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


Changes in directory llvm/tools/gccld:

gccld.cpp updated: 1.68 -> 1.69

---
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/gccld/gccld.cpp
diff -u llvm/tools/gccld/gccld.cpp:1.68 llvm/tools/gccld/gccld.cpp:1.69
--- llvm/tools/gccld/gccld.cpp:1.68	Tue Dec  9 09:39:11 2003
+++ llvm/tools/gccld/gccld.cpp	Thu Feb 19 14:32:39 2004
@@ -195,6 +195,7 @@
 
 int main(int argc, char **argv, char **envp) {
   cl::ParseCommandLineOptions(argc, argv, " llvm linker for GCC\n");
+  PrintStackTraceOnErrorSignal();
 
   std::string ModuleID("gccld-output");
   std::auto_ptr<Module> Composite(new Module(ModuleID));





More information about the llvm-commits mailing list