Skip to content

Commit 6be8dec

Browse files
committed
Update an addition location where the R2R version is defined
1 parent 1b0adc0 commit 6be8dec

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

src/coreclr/inc/readytorun.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
#define READYTORUN_SIGNATURE 0x00525452 // 'RTR'
1616

17-
// Keep these in sync with src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs
17+
// Keep these in sync with
18+
// src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs
19+
// src/coreclr/nativeaot/Runtime/inc/ModuleHeaders.h
1820
#define READYTORUN_MAJOR_VERSION 0x0009
1921
#define READYTORUN_MINOR_VERSION 0x0000
2022

@@ -27,6 +29,7 @@
2729
// R2R Version 6.0 changes managed layout for sequential types with any unmanaged non-blittable fields.
2830
// R2R 6.0 is not backward compatible with 5.x or earlier.
2931
// R2R Version 8.0 Changes the alignment of the Int128 type
32+
// R2R Version 9.0 adds support for the Vector512 type
3033

3134
struct READYTORUN_CORE_HEADER
3235
{

src/coreclr/nativeaot/Runtime/inc/ModuleHeaders.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
//
55
// Please keep the data structures in this file in sync with the managed version at
66
// src/Common/src/Internal/Runtime/ModuleHeaders.cs
7-
//
7+
// src/coreclr/inc/readytorun.h
8+
89

910
struct ReadyToRunHeaderConstants
1011
{
1112
static const uint32_t Signature = 0x00525452; // 'RTR'
1213

13-
static const uint32_t CurrentMajorVersion = 8;
14+
static const uint32_t CurrentMajorVersion = 9;
1415
static const uint32_t CurrentMinorVersion = 0;
1516
};
1617

src/coreclr/tools/Common/Internal/Runtime/ModuleHeaders.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace Internal.Runtime
88
//
99
// Please keep the data structures in this file in sync with the native version at
1010
// src/coreclr/inc/readytorun.h
11+
// src/coreclr/nativeaot/Runtime/inc/ModuleHeaders.h
1112
//
1213

1314
internal struct ReadyToRunHeaderConstants

0 commit comments

Comments
 (0)