Commit 3914bd8
committed
[mono] Fix the emission of EnumEqualityComparer instances into the corlib AOT image.
Add a few dummy enums to the Mono namespace in corlib, and use them
to create valid EnumEqualityComparer instances. Also make sure the
instances are actually emitted and not replaced by gsharedvt instances.
Fixes #49229.1 parent 9849163 commit 3914bd8
3 files changed
Lines changed: 63 additions & 7 deletions
File tree
- src/mono
- System.Private.CoreLib/src
- ILLink
- Mono
- mono/mini
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
621 | 630 | | |
622 | 631 | | |
623 | 632 | | |
| |||
Lines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
121 | 153 | | |
122 | 154 | | |
123 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5185 | 5185 | | |
5186 | 5186 | | |
5187 | 5187 | | |
| 5188 | + | |
| 5189 | + | |
| 5190 | + | |
| 5191 | + | |
| 5192 | + | |
| 5193 | + | |
| 5194 | + | |
| 5195 | + | |
| 5196 | + | |
| 5197 | + | |
| 5198 | + | |
| 5199 | + | |
| 5200 | + | |
5188 | 5201 | | |
5189 | 5202 | | |
5190 | 5203 | | |
| |||
5338 | 5351 | | |
5339 | 5352 | | |
5340 | 5353 | | |
5341 | | - | |
| 5354 | + | |
5342 | 5355 | | |
5343 | 5356 | | |
5344 | 5357 | | |
| |||
5758 | 5771 | | |
5759 | 5772 | | |
5760 | 5773 | | |
5761 | | - | |
| 5774 | + | |
5762 | 5775 | | |
5763 | 5776 | | |
| 5777 | + | |
5764 | 5778 | | |
5765 | 5779 | | |
5766 | | - | |
5767 | | - | |
5768 | | - | |
5769 | | - | |
| 5780 | + | |
| 5781 | + | |
| 5782 | + | |
| 5783 | + | |
| 5784 | + | |
5770 | 5785 | | |
5771 | | - | |
| 5786 | + | |
5772 | 5787 | | |
5773 | 5788 | | |
5774 | 5789 | | |
| |||
0 commit comments