Skip to content

SPMI: Look into cleaning up relocation/diff handling #124382

@jakobbotsch

Description

@jakobbotsch

When SPMI was originally written the JIT did not support writing code at a different location than it would be executed (beyond relocation handling). It means that SPMI has a ton complicated diff handling to resolve situations where base/diff instructions differ because of different base/diff addresses used in the compilation.

After W^X we gained that support and it means we should be able to simplify most of this since we can act as if the code will be executed from the original address we saw in the JIT execution, for both the base and diff compilations. This should make it much more straightforward to diff.

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions