summaryrefslogtreecommitdiff
path: root/lib/Support/Signals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Signals.cpp')
-rw-r--r--lib/Support/Signals.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Support/Signals.cpp b/lib/Support/Signals.cpp
index 7adccb1f23..b3baed0668 100644
--- a/lib/Support/Signals.cpp
+++ b/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);
}