SHA256
1
0
forked from pool/llvm
llvm/llvm-disable-pretty-stack-trace.patch

26 lines
900 B
Diff

Index: llvm-3.3/lib/Support/PrettyStackTrace.cpp
===================================================================
--- llvm-3.3.orig/lib/Support/PrettyStackTrace.cpp
+++ llvm-3.3/lib/Support/PrettyStackTrace.cpp
@@ -27,7 +27,7 @@
using namespace llvm;
namespace llvm {
- bool DisablePrettyStackTrace = false;
+ bool DisablePrettyStackTrace = true;
}
// FIXME: This should be thread local when llvm supports threads.
Index: llvm-3.3/tools/clang/tools/driver/driver.cpp
===================================================================
--- llvm-3.3.orig/tools/clang/tools/driver/driver.cpp
+++ llvm-3.3/tools/clang/tools/driver/driver.cpp
@@ -341,6 +341,7 @@ static void ParseProgName(SmallVectorImp
}
int main(int argc_, const char **argv_) {
+ llvm::DisablePrettyStackTrace = false;
llvm::sys::PrintStackTraceOnErrorSignal();
llvm::PrettyStackTraceProgram X(argc_, argv_);