Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElinor Fung <47805090+elinor-fung@users.noreply.github.com>2020-03-30 19:47:26 +0300
committerGitHub <noreply@github.com>2020-03-30 19:47:26 +0300
commited2e6e2e48d61f63f705f3688110bdf0e4173282 (patch)
tree5e9f11406a5d002dd8511df8713c91cf04b38cb1 /src/coreclr/CMakeLists.txt
parent829baa4dcfe8c32034ebb4cf867dff07d853c04a (diff)
Fix for changed host behaviour on app crash (#34224)
* Switch back to only handling synchronous exceptions in host components Add native hosting tests for components with unhandled exceptions. * Switch setting /EHa to be for coreclr instead of shared default
Diffstat (limited to 'src/coreclr/CMakeLists.txt')
-rw-r--r--src/coreclr/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coreclr/CMakeLists.txt b/src/coreclr/CMakeLists.txt
index d15455365da..efad61086e8 100644
--- a/src/coreclr/CMakeLists.txt
+++ b/src/coreclr/CMakeLists.txt
@@ -13,6 +13,7 @@ if (CLR_CMAKE_HOST_WIN32)
endif (CLR_CMAKE_HOST_WIN32)
if(MSVC)
+ add_compile_options(/EHa) # enable C++ EH (w/ SEH exceptions)
set(CMAKE_CXX_STANDARD_LIBRARIES "") # do not link against standard win32 libs i.e. kernel32, uuid, user32, etc.
endif (MSVC)