From 6559615fc4b5215194335d434e211ff4a1efbc55 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 19 Feb 2004 21:21:23 +0000 Subject: [PATCH] Disable the stack trace thing until we can get an autoconf test for it. This call breaks on sparcs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11635 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Signals.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Support/Signals.cpp b/lib/Support/Signals.cpp index 7adccb1f238..b3baed06683 100644 --- a/lib/Support/Signals.cpp +++ b/lib/Support/Signals.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +//#include #include #include #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); } -- 2.34.1