| Index: src/IceCompileServer.cpp
|
| diff --git a/src/IceCompileServer.cpp b/src/IceCompileServer.cpp
|
| index 25b8092bf256e886936f95e8a95c634d2f589f1e..d4048e9464fafaa35c406517ed31f239422882b4 100644
|
| --- a/src/IceCompileServer.cpp
|
| +++ b/src/IceCompileServer.cpp
|
| @@ -17,6 +17,7 @@
|
|
|
| #include "llvm/Support/FileSystem.h"
|
| #include "llvm/Support/raw_os_ostream.h"
|
| +#include "llvm/Support/Signals.h"
|
| #include "llvm/Support/SourceMgr.h"
|
| #include "llvm/Support/StreamingMemoryObject.h"
|
|
|
| @@ -49,6 +50,9 @@ ErrorCodes getReturnValue(const Ice::ClFlagsExtra &Flags, ErrorCodes Val) {
|
| } // end of anonymous namespace
|
|
|
| void CLCompileServer::run() {
|
| + if (ALLOW_DUMP) {
|
| + llvm::sys::PrintStackTraceOnErrorSignal();
|
| + }
|
| ClFlags::parseFlags(argc, argv);
|
| ClFlags Flags;
|
| ClFlagsExtra ExtraFlags;
|
|
|