summaryrefslogtreecommitdiffstats
path: root/clang
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
parent867757739555472993ae13531ce878e99b13de9b (diff)
downloadbcm5719-llvm-29cc006eb85253f89f2704874d58092155f158a6.tar.gz
bcm5719-llvm-29cc006eb85253f89f2704874d58092155f158a6.zip
It is no longer necessary to opt out of pretty stack traces.
llvm-svn: 193973
Diffstat (limited to 'clang')
-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 c30f937e1a8..3e741281beb 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();
OpenPOWER on IntegriCloud