Skip to content

SPMI: Spurious diffs when stressing profiler ELT callbacks #82164

@jakobbotsch

Description

@jakobbotsch

When stressing ELT callbacks we generate code that points to a function that resides within clrjit.dll:

compProfilerMethHnd = (void*)DummyProfilerELTStub;

This is not compatible with SPMI replay/diffs.
Likely the easiest fix is to introduce a new CORINFO_HELP_PROF_FCN_TEST_CALLBACK that is a NOP and defined in the runtime, similar to how CFG is stress tested today.

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

Relationships

None yet

Development

No branches or pull requests

Issue actions