#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>
int main(int argc, char **argv) {
cl::ParseCommandLineOptions(argc, argv, " llvm analysis printer tool\n");
+ PrintStackTraceOnErrorSignal();
Module *CurMod = 0;
try {
#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;
" 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;