diff options
author | Chris Lattner <sabre@nondot.org> | 2004-02-19 21:21:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-02-19 21:21:23 +0000 |
commit | 79b88a7590400678ff22d17d71b7b03be0f0f063 (patch) | |
tree | 722be25e054a9781a710d0b157f86edc270b89c6 /llvm/lib/Support/Signals.cpp | |
parent | 56bfdecbdf6da54ed9ecd216a34fb03a222f3365 (diff) | |
download | bcm5719-llvm-79b88a7590400678ff22d17d71b7b03be0f0f063.tar.gz bcm5719-llvm-79b88a7590400678ff22d17d71b7b03be0f0f063.zip |
Disable the stack trace thing until we can get an autoconf test for it. This
call breaks on sparcs
llvm-svn: 11635
Diffstat (limited to 'llvm/lib/Support/Signals.cpp')
-rw-r--r-- | llvm/lib/Support/Signals.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/Signals.cpp b/llvm/lib/Support/Signals.cpp index 7adccb1f238..b3baed06683 100644 --- a/llvm/lib/Support/Signals.cpp +++ b/llvm/lib/Support/Signals.cpp @@ -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 @@ static RETSIGTYPE SignalHandler(int Sig) { // 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); } |