mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-14 09:56:23 +00:00
lib/Support/Windows/Signals.inc: "Showstopper" dialogs may be suppressed with SetErrorMode() on Windows 7.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
390b9f00eb
commit
ac25e44d89
@ -112,6 +112,9 @@ static void RegisterHandler() {
|
||||
#ifdef _MSC_VER
|
||||
_CrtSetReportHook(CRTReportHook);
|
||||
#endif
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS |
|
||||
SEM_NOGPFAULTERRORBOX |
|
||||
SEM_NOOPENFILEERRORBOX);
|
||||
ExitOnUnhandledExceptions = true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user