-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix spurious SuperPMI asm diffs (#86132)
Under ELT profiler stress, we encode the un-relocated address of the `DummyProfilerELTStub` function in the JIT codebase into the generated code. This can lead to spurious diffs if the address is different between base and diff JITs (which is likely). To avoid this, under SuperPMI replay (which we only know in DEBUG builds currently), use a fixed constant for this address. The code isn't executed during SuperPMI replay, so it doesn't need to be a valid code address.
- Loading branch information
1 parent
937e25a
commit 3bd3832
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters