diff options
author | Sung Yoon Whang <suwhang@microsoft.com> | 2018-03-09 18:33:26 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-09 18:33:26 -0600 |
commit | c128ba146c3190ac907aa4ee5d4067cb6ceb0742 (patch) | |
tree | 4d25da98d140a40449332c5282ce66ba7f827e4b /src/vm/eepolicy.h | |
parent | 57b215fc758737f55a7062cab277154c5b9626d4 (diff) | |
download | coreclr-c128ba146c3190ac907aa4ee5d4067cb6ceb0742.tar.gz coreclr-c128ba146c3190ac907aa4ee5d4067cb6ceb0742.tar.bz2 coreclr-c128ba146c3190ac907aa4ee5d4067cb6ceb0742.zip |
Log inner exceptions for Environment.Failfast (#16622)
* Add inner exception log to failfast
* cleanup
* Address PR comments
* Address more GC hole issue
* address more PR comments
Diffstat (limited to 'src/vm/eepolicy.h')
-rw-r--r-- | src/vm/eepolicy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/eepolicy.h b/src/vm/eepolicy.h index a757956a11..c41d16bc09 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); + 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 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); + static void LogFatalError(UINT exitCode, UINT_PTR address, LPCWSTR pMessage, PEXCEPTION_POINTERS pExceptionInfo, LPCWSTR errorSource, const WCHAR * argExceptionString=NULL); // IMPORTANT NOTE: only the following two functions should be calling ExitProcessViaShim. // - CorHost2::ExitProcess |