diff options
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/Windows/Signals.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Support/Windows/Signals.inc b/lib/Support/Windows/Signals.inc index c0e3eca3d3..14f3f21f02 100644 --- a/lib/Support/Windows/Signals.inc +++ b/lib/Support/Windows/Signals.inc @@ -112,6 +112,9 @@ static void RegisterHandler() { #ifdef _MSC_VER _CrtSetReportHook(CRTReportHook); #endif + SetErrorMode(SEM_FAILCRITICALERRORS | + SEM_NOGPFAULTERRORBOX | + SEM_NOOPENFILEERRORBOX); ExitOnUnhandledExceptions = true; } |