[llvm-commits] [llvm] r123685 - /llvm/trunk/lib/Support/Windows/Signals.inc
NAKAMURA Takumi
geek4civic at gmail.com
Mon Jan 17 14:41:16 PST 2011
Author: chapuni
Date: Mon Jan 17 16:41:15 2011
New Revision: 123685
URL: http://llvm.org/viewvc/llvm-project?rev=123685&view=rev
Log:
lib/Support/Windows/Signals.inc: "Showstopper" dialogs may be suppressed with SetErrorMode() on Windows 7.
Modified:
llvm/trunk/lib/Support/Windows/Signals.inc
Modified: llvm/trunk/lib/Support/Windows/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Windows/Signals.inc?rev=123685&r1=123684&r2=123685&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Windows/Signals.inc (original)
+++ llvm/trunk/lib/Support/Windows/Signals.inc Mon Jan 17 16:41:15 2011
@@ -112,6 +112,9 @@
#ifdef _MSC_VER
_CrtSetReportHook(CRTReportHook);
#endif
+ SetErrorMode(SEM_FAILCRITICALERRORS |
+ SEM_NOGPFAULTERRORBOX |
+ SEM_NOOPENFILEERRORBOX);
ExitOnUnhandledExceptions = true;
}
More information about the llvm-commits
mailing list