Failfast windows event log (#16875)
authorSung Yoon Whang <suwhang@microsoft.com>
Tue, 27 Mar 2018 21:42:12 +0000 (14:42 -0700)
committerGitHub <noreply@github.com>
Tue, 27 Mar 2018 21:42:12 +0000 (14:42 -0700)
commit550f12783c9b4bbad82c86552c44d1ed29d75bfd
treeaacef924a33bb5eb8865f1fc28c40acc7844e0c5
parentba10a4268bfe9ac06c8db1a9a82fdd5c369c5786
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
src/classlibnative/bcltype/system.cpp
src/vm/crossgencompile.cpp
src/vm/eepolicy.cpp
src/vm/eepolicy.h
src/vm/eventreporter.cpp
src/vm/eventreporter.h
src/vm/excep.cpp
src/vm/excep.h