lib/Support/Windows/Signals.inc: "Showstopper" dialogs may be suppressed with SetErrorMode() on Windows 7.
llvm-svn: 123685
This commit is contained in:
parent
459e079912
commit
bb4ea1fef9
|
@ -112,6 +112,9 @@ static void RegisterHandler() {
|
|||
#ifdef _MSC_VER
|
||||
_CrtSetReportHook(CRTReportHook);
|
||||
#endif
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS |
|
||||
SEM_NOGPFAULTERRORBOX |
|
||||
SEM_NOOPENFILEERRORBOX);
|
||||
ExitOnUnhandledExceptions = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue