Fix for changed host behaviour on app crash (#34224)
authorElinor Fung <47805090+elinor-fung@users.noreply.github.com>
Mon, 30 Mar 2020 16:47:26 +0000 (09:47 -0700)
committerGitHub <noreply@github.com>
Mon, 30 Mar 2020 16:47:26 +0000 (09:47 -0700)
commited2e6e2e48d61f63f705f3688110bdf0e4173282
tree5e9f11406a5d002dd8511df8713c91cf04b38cb1
parent829baa4dcfe8c32034ebb4cf867dff07d853c04a
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
12 files changed:
eng/native/configurecompiler.cmake
src/coreclr/CMakeLists.txt
src/coreclr/tests/CMakeLists.txt
src/installer/corehost/CMakeLists.txt
src/installer/corehost/cli/hostpolicy/breadcrumbs.cpp
src/installer/corehost/cli/hostpolicy/breadcrumbs.h
src/installer/corehost/cli/test/nativehost/host_context_test.cpp
src/installer/corehost/cli/test/nativehost/nativehost.cpp
src/installer/test/Assets/TestProjects/ComponentWithNoDependencies/Component.cs
src/installer/test/HostActivation.Tests/Constants.cs
src/installer/test/HostActivation.Tests/NativeHosting/ApplicationExecution.cs [new file with mode: 0644]
src/installer/test/HostActivation.Tests/NativeHosting/ComponentActivation.cs