Enable `EHCONT` and `CETCOMPAT` for some binaries on Windows (#56173)
authorKoundinya Veluri <kouvel@users.noreply.github.com>
Thu, 12 Aug 2021 01:01:23 +0000 (18:01 -0700)
committerGitHub <noreply@github.com>
Thu, 12 Aug 2021 01:01:23 +0000 (18:01 -0700)
commit4e850c75d2fafd05d4e2e3f3ac1ac00c4b55d18a
treec2d03fb289487b7cf6bd56ab89b3a9e4f75aca35
parente4b4666e20732be1f99b1cf7f917acbb008b2ea9
Enable `EHCONT` and `CETCOMPAT` for some binaries on Windows (#56173)

* Enable `EHCONT` and `CETCOMPAT` for some binaries on Windows

- Followup to https://github.com/dotnet/runtime/pull/55942
- Intended to be merged into a PR that updates to use new PGO profile data collected with the above change
- Enabled `/guard:ehcont` as a linker option for EXEs and DLLs
- Enabled `/cetcompat` as a linker option for DLLs
eng/native/configurecompiler.cmake
src/coreclr/pgosupport.cmake
src/mono/dlls/dbgshim/CMakeLists.txt
src/mono/dlls/mscordbi/CMakeLists.txt