summaryrefslogtreecommitdiff
path: root/src/vm/eepolicy.h
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2018-03-27 14:42:12 -0700
committerGitHub <noreply@github.com>2018-03-27 14:42:12 -0700
commit550f12783c9b4bbad82c86552c44d1ed29d75bfd (patch)
treeaacef924a33bb5eb8865f1fc28c40acc7844e0c5 /src/vm/eepolicy.h
parentba10a4268bfe9ac06c8db1a9a82fdd5c369c5786 (diff)
downloadcoreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.tar.gz
coreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.tar.bz2
coreclr-550f12783c9b4bbad82c86552c44d1ed29d75bfd.zip
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/eepolicy.h')
-rw-r--r--src/vm/eepolicy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/eepolicy.h b/src/vm/eepolicy.h
index c41d16bc09..44e0073754 100644
--- a/src/vm/eepolicy.h
+++ b/src/vm/eepolicy.h
@@ -124,7 +124,7 @@ public:
static void HandleExitProcess(ShutdownCompleteAction sca = SCA_ExitProcessWhenShutdownComplete);
- static void DECLSPEC_NORETURN HandleFatalError(UINT exitCode, UINT_PTR address, LPCWSTR pMessage=NULL, PEXCEPTION_POINTERS pExceptionInfo= NULL, LPCWSTR errorSource=NULL, const WCHAR * argExceptionString=NULL);
+ static void DECLSPEC_NORETURN HandleFatalError(UINT exitCode, UINT_PTR address, LPCWSTR pMessage=NULL, PEXCEPTION_POINTERS pExceptionInfo= NULL, LPCWSTR errorSource=NULL, LPCWSTR argExceptionString=NULL);
static void DECLSPEC_NORETURN HandleFatalStackOverflow(EXCEPTION_POINTERS *pException, BOOL fSkipDebugger = FALSE);
@@ -147,7 +147,7 @@ private:
BOOL IsValidActionForFailure(EClrFailure failure, EPolicyAction action);
EPolicyAction GetFinalAction(EPolicyAction action, Thread *pThread);
- static void LogFatalError(UINT exitCode, UINT_PTR address, LPCWSTR pMessage, PEXCEPTION_POINTERS pExceptionInfo, LPCWSTR errorSource, const WCHAR * argExceptionString=NULL);
+ static void LogFatalError(UINT exitCode, UINT_PTR address, LPCWSTR pMessage, PEXCEPTION_POINTERS pExceptionInfo, LPCWSTR errorSource, LPCWSTR argExceptionString=NULL);
// IMPORTANT NOTE: only the following two functions should be calling ExitProcessViaShim.
// - CorHost2::ExitProcess