summaryrefslogtreecommitdiff
path: root/src/pal/tests
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2015-12-08 18:58:30 -0800
committerMike McLaughlin <mikem@microsoft.com>2015-12-09 16:02:28 -0800
commit44f43e5d4ece85d05376c690263eea05e11e4174 (patch)
tree4af0dec0636fa6d5e737e43fbec0cf61ecd17b75 /src/pal/tests
parentc27ae7b93c527b2f2865d530f5b4286b09c245cb (diff)
downloadcoreclr-44f43e5d4ece85d05376c690263eea05e11e4174.tar.gz
coreclr-44f43e5d4ece85d05376c690263eea05e11e4174.tar.bz2
coreclr-44f43e5d4ece85d05376c690263eea05e11e4174.zip
Disable h/w exceptions for coreclr (non-DAC) builds.
Fixes the recursive GC crash. Added FEATURE_ENABLE_HARDWARE_EXCEPTIONS to the PAL sxs exception tests so the h/w exceptions generated by the test dlls are caught. Also added to SOS/strike project. Also fixed sos "clrstack -i". The sos data target needed to implement ICorDebugDataTarget4::VirtualUnwind too.
Diffstat (limited to 'src/pal/tests')
-rw-r--r--src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt b/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt
index 949fe9294a..fd9af67414 100644
--- a/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt
+++ b/src/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt
@@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 2.8.12.2)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(CLR_CMAKE_PLATFORM_UNIX)
- add_compile_options(-fPIC)
+ add_compile_options(-fPIC)
+ add_definitions(-DFEATURE_ENABLE_HARDWARE_EXCEPTIONS)
endif(CLR_CMAKE_PLATFORM_UNIX)
# Test DLL1