summaryrefslogtreecommitdiff
path: root/src/vm/excep.h
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2018-03-27 21:42:12 (GMT)
committerGitHub <noreply@github.com>2018-03-27 21:42:12 (GMT)
commit550f12783c9b4bbad82c86552c44d1ed29d75bfd (patch)
treeaacef924a33bb5eb8865f1fc28c40acc7844e0c5 /src/vm/excep.h
parentba10a4268bfe9ac06c8db1a9a82fdd5c369c5786 (diff)
downloadcoreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.zip
coreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.tar.gz
coreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.tar.bz2
Failfast windows event log (#16875)
* Add FailFast error log to Windows Event Log * change const wchar * to lpcwstr * Enable sending unhandled exception info to Windows Event Log * Change log format to match console output and address PR comments * Remove more comments * Change the order DoReportForUnhandledException to do a safety check first before calling managed code * Fix parameter name in header file * Add Windows Event logging in DefaultCatchHandler and remove DoReportForUnhandledException * Add back event reporting for ignored unhandled exception cases, fix broken UNIX builds * Fix more broken unix builds * Fix typo * Address PR comments
Diffstat (limited to 'src/vm/excep.h')
-rw-r--r--src/vm/excep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vm/excep.h b/src/vm/excep.h
index 4261c3c..6df9a98 100644
--- a/src/vm/excep.h
+++ b/src/vm/excep.h
@@ -241,7 +241,8 @@ void STDMETHODCALLTYPE DefaultCatchHandler(PEXCEPTION_POINTERS pExceptionInfo,
BOOL useLastThrownObject = FALSE,
BOOL isTerminating = FALSE,
BOOL isThreadBaseFilter = FALSE,
- BOOL sendAppDomainEvents = TRUE);
+ BOOL sendAppDomainEvents = TRUE,
+ BOOL sendWindowsEventLog = FALSE);
void ReplaceExceptionContextRecord(T_CONTEXT *pTarget, T_CONTEXT *pSource);