aboutsummaryrefslogtreecommitdiff
path: root/clang/tools
diff options
context:
space:
mode:
authorFilip Pizlo <fpizlo@apple.com>2013-11-04 02:25:34 +0000
committerFilip Pizlo <fpizlo@apple.com>2013-11-04 02:25:34 +0000
commit29cc006eb85253f89f2704874d58092155f158a6 (patch)
treef60a0c475553f295d9f910f6b161257796925b24 /clang/tools
parent867757739555472993ae13531ce878e99b13de9b (diff)
downloadllvm-29cc006eb85253f89f2704874d58092155f158a6.zip
llvm-29cc006eb85253f89f2704874d58092155f158a6.tar.gz
llvm-29cc006eb85253f89f2704874d58092155f158a6.tar.bz2
It is no longer necessary to opt out of pretty stack traces.
llvm-svn: 193973
Diffstat (limited to 'clang/tools')
-rw-r--r--clang/tools/libclang/CIndex.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/tools/libclang/CIndex.cpp b/clang/tools/libclang/CIndex.cpp
index c30f937..3e74128 100644
--- a/clang/tools/libclang/CIndex.cpp
+++ b/clang/tools/libclang/CIndex.cpp
@@ -43,7 +43,6 @@
#include "llvm/Support/Format.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Mutex.h"
-#include "llvm/Support/PrettyStackTrace.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/SaveAndRestore.h"
#include "llvm/Support/Signals.h"
@@ -2544,10 +2543,6 @@ static void fatal_error_handler(void *user_data, const std::string& reason,
extern "C" {
CXIndex clang_createIndex(int excludeDeclarationsFromPCH,
int displayDiagnostics) {
- // Disable pretty stack trace functionality, which will otherwise be a very
- // poor citizen of the world and set up all sorts of signal handlers.
- llvm::DisablePrettyStackTrace = true;
-
// We use crash recovery to make some of our APIs more reliable, implicitly
// enable it.
llvm::CrashRecoveryContext::Enable();