Adjust determinism tests to store away the 2 different binaries that are generated...
authorDavid Wrighton <davidwr@microsoft.com>
Thu, 22 Jun 2023 23:35:25 +0000 (16:35 -0700)
committerGitHub <noreply@github.com>
Thu, 22 Jun 2023 23:35:25 +0000 (16:35 -0700)
commit5ff4fdd0250e73b34cecb3c994746bcb9d7325cb
tree188f54b46ec79fb1b9096c8d7301f3d29952c96b
parent73f96e6a9d3e6bf6e4ac012ea0188e22f5789c66
Adjust determinism tests to store away the 2 different binaries that are generated (#87852)

- This should allow comparison without needing full rebuilds
- as well as comparison in cases where locally running the tooling doesn't result in equivalent results
- In addition, generate a map file to better understand what portion of the two files does not match

Finally, fix comparison failure identified by using the above tech:
- Fix culture sensive compare in instruction set handling
- This should be culture insensitive, as otherwise different machines can reliably generate different output due to different culture settings
eng/pipelines/coreclr/templates/crossgen2-comparison-job.yml
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/ReadyToRunInstructionSetSupportSignature.cs
src/tests/Common/scripts/crossgen2_comparison.py