2a491f2a02
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=279
26 lines
900 B
Diff
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_);
|
|
|