From 8d8d85f034844989842771ae69b9a3a59c89927d Mon Sep 17 00:00:00 2001 From: Dong-Heon Jung Date: Fri, 30 Aug 2024 19:35:58 +0900 Subject: [PATCH] [RISC-V] Enable LegacyExceptionHandling for RISC-V --- src/coreclr/inc/clrconfigvalues.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/coreclr/inc/clrconfigvalues.h b/src/coreclr/inc/clrconfigvalues.h index 52a6814133c4f..41933bdb8a1a0 100644 --- a/src/coreclr/inc/clrconfigvalues.h +++ b/src/coreclr/inc/clrconfigvalues.h @@ -259,7 +259,11 @@ RETAIL_CONFIG_DWORD_INFO(UNSUPPORTED_legacyCorruptedStateExceptionsPolicy, W("le CONFIG_DWORD_INFO(INTERNAL_SuppressLostExceptionTypeAssert, W("SuppressLostExceptionTypeAssert"), 0, "") RETAIL_CONFIG_DWORD_INFO(INTERNAL_UseEntryPointFilter, W("UseEntryPointFilter"), 0, "") RETAIL_CONFIG_DWORD_INFO(INTERNAL_Corhost_Swallow_Uncaught_Exceptions, W("Corhost_Swallow_Uncaught_Exceptions"), 0, "") +#ifdef TARGET_RISCV64 +RETAIL_CONFIG_DWORD_INFO(EXTERNAL_LegacyExceptionHandling, W("LegacyExceptionHandling"), 1, "Enable legacy exception handling."); +#else RETAIL_CONFIG_DWORD_INFO(EXTERNAL_LegacyExceptionHandling, W("LegacyExceptionHandling"), 0, "Enable legacy exception handling."); +#endif // TARGET_RISCV64 /// /// Garbage collector