projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
390b9f0
)
lib/Support/Windows/Signals.inc: "Showstopper" dialogs may be suppressed with SetErro...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 17 Jan 2011 22:41:15 +0000
(22:41 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 17 Jan 2011 22:41:15 +0000
(22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123685
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Windows/Signals.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/Signals.inc
b/lib/Support/Windows/Signals.inc
index c0e3eca3d32445938be637e1ae93040176770b45..14f3f21f02a121b637139564ea94f6b1063f5721 100644
(file)
--- 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;
}