From 13e024b41fec0ede33d1ca78cf3fa3b7855056fe Mon Sep 17 00:00:00 2001 From: Dong-Heon Jung Date: Tue, 2 Feb 2021 23:15:21 +0900 Subject: [PATCH] Set GetCurrentManagedThreadId (#47742) - Set to 0x112 as in readytorun.h - Resolve assertion in LoadDynamicInfoEntry vm/jitinterface.cpp --- .../tools/Common/Internal/Runtime/ReadyToRunConstants.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/tools/Common/Internal/Runtime/ReadyToRunConstants.cs b/src/coreclr/tools/Common/Internal/Runtime/ReadyToRunConstants.cs index d2fd2fd05b764..fe2c5a9bd4a1d 100644 --- a/src/coreclr/tools/Common/Internal/Runtime/ReadyToRunConstants.cs +++ b/src/coreclr/tools/Common/Internal/Runtime/ReadyToRunConstants.cs @@ -276,6 +276,8 @@ public enum ReadyToRunHelper StackProbe = 0x111, + GetCurrentManagedThreadId = 0x112, + // ********************************************************************************************** // // These are not actually part of the R2R file format. We have them here because it's convenient. @@ -313,8 +315,6 @@ public enum ReadyToRunHelper TypeHandleToRuntimeType, GetRefAny, TypeHandleToRuntimeTypeHandle, - - GetCurrentManagedThreadId, } // Enum used for HFA type recognition.