[llvm-commits] CVS: llvm/tools/bugpoint/bugpoint.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Feb 19 15:18:15 PST 2004
Changes in directory llvm/tools/bugpoint:
bugpoint.cpp updated: 1.14 -> 1.15
---
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/bugpoint/bugpoint.cpp
diff -u llvm/tools/bugpoint/bugpoint.cpp:1.14 llvm/tools/bugpoint/bugpoint.cpp:1.15
--- llvm/tools/bugpoint/bugpoint.cpp:1.14 Thu Feb 19 01:39:26 2004
+++ llvm/tools/bugpoint/bugpoint.cpp Thu Feb 19 14:33:00 2004
@@ -17,6 +17,7 @@
#include "llvm/Support/PassNameParser.h"
#include "llvm/Support/ToolRunner.h"
#include "Support/CommandLine.h"
+#include "Support/Signals.h"
#include "Config/unistd.h"
#include <sys/resource.h>
using namespace llvm;
@@ -36,6 +37,7 @@
" LLVM automatic testcase reducer. See\nhttp://"
"llvm.cs.uiuc.edu/docs/CommandGuide/bugpoint.html"
" for more information.\n");
+ PrintStackTraceOnErrorSignal();
BugDriver D(argv[0]);
if (D.addSources(InputFilenames)) return 1;
More information about the llvm-commits
mailing list