[llvm-commits] CVS: llvm/lib/Support/Signals.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Feb 19 15:22:02 PST 2004
Changes in directory llvm/lib/Support:
Signals.cpp updated: 1.13 -> 1.14
---
Log message:
Disable the stack trace thing until we can get an autoconf test for it. This
call breaks on sparcs
---
Diffs of the changes: (+3 -3)
Index: llvm/lib/Support/Signals.cpp
diff -u llvm/lib/Support/Signals.cpp:1.13 llvm/lib/Support/Signals.cpp:1.14
--- llvm/lib/Support/Signals.cpp:1.13 Thu Feb 19 14:03:14 2004
+++ llvm/lib/Support/Signals.cpp Thu Feb 19 15:21:23 2004
@@ -17,7 +17,7 @@
#include <algorithm>
#include <cstdlib>
#include <cstdio>
-#include <execinfo.h>
+//#include <execinfo.h>
#include <signal.h>
#include <unistd.h>
#include "Config/config.h" // Get the signal handler return type
@@ -55,8 +55,8 @@
// Otherwise if it is a fault (like SEGV) output the stacktrace to
// STDERR and reissue the signal to die...
- int depth = backtrace(StackTrace, sizeof(StackTrace)/sizeof(StackTrace[0]));
- backtrace_symbols_fd(StackTrace, depth, STDERR_FILENO);
+ //int depth = backtrace(StackTrace, sizeof(StackTrace)/sizeof(StackTrace[0]));
+ //backtrace_symbols_fd(StackTrace, depth, STDERR_FILENO);
signal(Sig, SIG_DFL);
}
More information about the llvm-commits
mailing list