]> granicus.if.org Git - clang/commitdiff
It is no longer necessary to opt out of pretty stack traces.
authorFilip Pizlo <fpizlo@apple.com>
Mon, 4 Nov 2013 02:25:34 +0000 (02:25 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Mon, 4 Nov 2013 02:25:34 +0000 (02:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193973 91177308-0d34-0410-b5e6-96231b3b80d8

tools/libclang/CIndex.cpp

index c30f937e1a89ad79fd87b3c212694fd16145eac2..3e741281beb43dbc8c105c67684764b451ad010d 100644 (file)
@@ -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();