diff options
author | Fadi Hanna <fadim@microsoft.com> | 2019-05-15 12:18:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-15 12:18:19 -0700 |
commit | 9bf825258fdaffc9e2af72c9421eabe725245717 (patch) | |
tree | 63f9b68d74e11e6b4d965728c93f5570f2b00e5b /src/pal | |
parent | bd7ca275020d61b7303ab36bbf0b06f8c7416bf7 (diff) | |
download | coreclr-9bf825258fdaffc9e2af72c9421eabe725245717.tar.gz coreclr-9bf825258fdaffc9e2af72c9421eabe725245717.tar.bz2 coreclr-9bf825258fdaffc9e2af72c9421eabe725245717.zip |
Making crossgen throw when compiling with the PartialNgen flag and no IBC data (#24557)
* Making crossgen throw when compiling with the PartialNgen flag and no IBC data
* Adding missing m_fPartialNGen check
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/prebuilt/corerror/mscorurt.rc | 1 | ||||
-rw-r--r-- | src/pal/prebuilt/inc/corerror.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/prebuilt/corerror/mscorurt.rc b/src/pal/prebuilt/corerror/mscorurt.rc index 5b0a9e2dba..ee8ef677a7 100644 --- a/src/pal/prebuilt/corerror/mscorurt.rc +++ b/src/pal/prebuilt/corerror/mscorurt.rc @@ -327,5 +327,6 @@ BEGIN MSG_FOR_URT_HR(CLR_E_GC_OOM) "Failfast due to an OOM during a GC" MSG_FOR_URT_HR(CLR_E_GC_BAD_AFFINITY_CONFIG) "GCHeapAffinitizeMask or GCHeapAffinitizeRanges didn't specify any CPUs the current process is affinitized to." MSG_FOR_URT_HR(CLR_E_GC_BAD_AFFINITY_CONFIG_FORMAT) "GCHeapAffinitizeRanges configuration string has invalid format." + MSG_FOR_URT_HR(CLR_E_CROSSGEN_NO_IBC_DATA_FOUND) "Cannot compile using the PartialNgen flag because no IBC data was found." MSG_FOR_URT_HR(COR_E_BADIMAGEFORMAT) "The format of a DLL or executable being loaded is invalid." END diff --git a/src/pal/prebuilt/inc/corerror.h b/src/pal/prebuilt/inc/corerror.h index 6e72e49235..f8578f182d 100644 --- a/src/pal/prebuilt/inc/corerror.h +++ b/src/pal/prebuilt/inc/corerror.h @@ -394,6 +394,7 @@ #define CLR_E_GC_OOM EMAKEHR(0x2009) #define CLR_E_GC_BAD_AFFINITY_CONFIG EMAKEHR(0x200a) #define CLR_E_GC_BAD_AFFINITY_CONFIG_FORMAT EMAKEHR(0x200b) +#define CLR_E_CROSSGEN_NO_IBC_DATA_FOUND EMAKEHR(0x200c) #define COR_E_UNAUTHORIZEDACCESS E_ACCESSDENIED #define COR_E_ARGUMENT E_INVALIDARG #define COR_E_INVALIDCAST E_NOINTERFACE |