[llvm-commits] CVS: llvm/tools/analyze/analyze.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Feb 19 15:15:04 PST 2004
Changes in directory llvm/tools/analyze:
analyze.cpp updated: 1.56 -> 1.57
---
Log message:
Make sure to print a stack trace whenever an error signal is delivered
to the tool.
---
Diffs of the changes: (+2 -0)
Index: llvm/tools/analyze/analyze.cpp
diff -u llvm/tools/analyze/analyze.cpp:1.56 llvm/tools/analyze/analyze.cpp:1.57
--- llvm/tools/analyze/analyze.cpp:1.56 Tue Nov 11 16:41:34 2003
+++ llvm/tools/analyze/analyze.cpp Thu Feb 19 14:32:58 2004
@@ -23,6 +23,7 @@
#include "llvm/Analysis/Verifier.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Support/PassNameParser.h"
+#include "Support/Signals.h"
#include "Support/Timer.h"
#include <algorithm>
@@ -115,6 +116,7 @@
int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, " llvm analysis printer tool\n");
+ PrintStackTraceOnErrorSignal();
Module *CurMod = 0;
try {
More information about the llvm-commits
mailing list