Commit e3d319b
authored
Handle getting the address of an RVA static correctly in a composite image (dotnet#55301)
* Handle getting the address of an RVA static correctly in a composite image
- Since composite images have the original RVA statics in the original files, use the value from there
- This required re-enabling the ability of getFieldAddress to return an indirection
- And adding some new processing for the fixup as needed
* Silence pointless assert
- There is an assert around incorrect handling of byref pointers, that isn't right. It fails for various issues with the Unsafe.* apis under jit stress, and this change makes it occur during one of our regular builds. As this is just an assert firing when it isn't appropriate, I'm disabling the warning as suggested by the JIT team.1 parent ab21929 commit e3d319b
File tree
5 files changed
+61
-8
lines changed- src/coreclr
- jit
- tools/aot/ILCompiler.ReadyToRun/Compiler
- DependencyAnalysis
- vm
5 files changed
+61
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12226 | 12226 | | |
12227 | 12227 | | |
12228 | 12228 | | |
12229 | | - | |
12230 | | - | |
12231 | | - | |
12232 | | - | |
| 12229 | + | |
| 12230 | + | |
| 12231 | + | |
| 12232 | + | |
| 12233 | + | |
| 12234 | + | |
12233 | 12235 | | |
12234 | 12236 | | |
12235 | 12237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7704 | 7704 | | |
7705 | 7705 | | |
7706 | 7706 | | |
7707 | | - | |
7708 | | - | |
| 7707 | + | |
| 7708 | + | |
| 7709 | + | |
| 7710 | + | |
| 7711 | + | |
| 7712 | + | |
| 7713 | + | |
7709 | 7714 | | |
| 7715 | + | |
7710 | 7716 | | |
7711 | 7717 | | |
7712 | 7718 | | |
7713 | 7719 | | |
7714 | | - | |
| 7720 | + | |
| 7721 | + | |
| 7722 | + | |
| 7723 | + | |
| 7724 | + | |
7715 | 7725 | | |
7716 | 7726 | | |
7717 | 7727 | | |
| |||
7721 | 7731 | | |
7722 | 7732 | | |
7723 | 7733 | | |
| 7734 | + | |
| 7735 | + | |
| 7736 | + | |
| 7737 | + | |
| 7738 | + | |
| 7739 | + | |
| 7740 | + | |
| 7741 | + | |
| 7742 | + | |
| 7743 | + | |
| 7744 | + | |
7724 | 7745 | | |
7725 | 7746 | | |
7726 | 7747 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
398 | 406 | | |
399 | 407 | | |
400 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
401 | 416 | | |
402 | 417 | | |
403 | 418 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
| 644 | + | |
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14034 | 14034 | | |
14035 | 14035 | | |
14036 | 14036 | | |
| 14037 | + | |
| 14038 | + | |
| 14039 | + | |
| 14040 | + | |
| 14041 | + | |
| 14042 | + | |
| 14043 | + | |
| 14044 | + | |
| 14045 | + | |
| 14046 | + | |
| 14047 | + | |
| 14048 | + | |
| 14049 | + | |
| 14050 | + | |
| 14051 | + | |
14037 | 14052 | | |
14038 | 14053 | | |
14039 | 14054 | | |
| |||
0 commit comments