llvm.org GIT mirror llvm / 4d6b695
Suppress OS crash dialog in llvm-rtdyld All other tools have this -- it's needed to avoid hanging lit on Windows in case of a crash. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194060 91177308-0d34-0410-b5e6-96231b3b80d8 Alp Toker 6 years ago
1 changed file(s) with 5 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2121 #include "llvm/Support/ManagedStatic.h"
2222 #include "llvm/Support/Memory.h"
2323 #include "llvm/Support/MemoryBuffer.h"
24 #include "llvm/Support/PrettyStackTrace.h"
25 #include "llvm/Support/Signals.h"
2426 #include "llvm/Support/raw_ostream.h"
2527 #include "llvm/Support/system_error.h"
2628 using namespace llvm;
238240 }
239241
240242 int main(int argc, char **argv) {
243 sys::PrintStackTraceOnErrorSignal();
244 PrettyStackTraceProgram X(argc, argv);
245
241246 ProgramName = argv[0];
242247 llvm_shutdown_obj Y; // Call llvm_shutdown() on exit.
243248