r193973 - It is no longer necessary to opt out of pretty stack traces.
Filip Pizlo
fpizlo at apple.com
Sun Nov 3 18:25:34 PST 2013
Author: fpizlo
Date: Sun Nov 3 20:25:34 2013
New Revision: 193973
URL: http://llvm.org/viewvc/llvm-project?rev=193973&view=rev
Log:
It is no longer necessary to opt out of pretty stack traces.
Modified:
cfe/trunk/tools/libclang/CIndex.cpp
Modified: cfe/trunk/tools/libclang/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/libclang/CIndex.cpp?rev=193973&r1=193972&r2=193973&view=diff
==============================================================================
--- cfe/trunk/tools/libclang/CIndex.cpp (original)
+++ cfe/trunk/tools/libclang/CIndex.cpp Sun Nov 3 20:25:34 2013
@@ -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 *us
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();
More information about the cfe-commits
mailing list