dotnet / jitutils

MIT License
146 stars 59 forks source link

Update coredistools to use LLVM 13.0.0 and build coredistools for macOS arm64 #348

Closed echesakov closed 2 years ago

echesakov commented 2 years ago

Summary of the changes:

It is now possible to collect superpmi asmdiffs on Apple M1:

Using JIT/EE Version from jiteeversionguid.h: 1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7
Using coredistools found at /Users/echesako/src/runtime/artifacts/tests/coreclr/OSX.arm64.Checked/Tests/Core_Root/libcoredistools.dylib
Found download cache directory "/Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64" and --force_download not set; skipping download
SuperPMI ASM diffs
Base JIT Path: /Users/echesako/src/runtime/base/libclrjit_universal_arm64_arm64.dylib
Diff JIT Path: /Users/echesako/src/runtime/diff/libclrjit_universal_arm64_arm64.dylib
Using MCH files:
  /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/libraries_tests.pmi.Linux.arm64.checked.mch
  /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/libraries.crossgen2.Linux.arm64.checked.mch
  /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/coreclr_tests.pmi.Linux.arm64.checked.mch
  /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/libraries.pmi.Linux.arm64.checked.mch
Running asm diffs of /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/libraries_tests.pmi.Linux.arm64.checked.mch
Clean SuperPMI diff (340741 contexts processed)
Running asm diffs of /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/libraries.crossgen2.Linux.arm64.checked.mch
Clean SuperPMI diff (211427 contexts processed)
Running asm diffs of /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/coreclr_tests.pmi.Linux.arm64.checked.mch
Clean SuperPMI diff (260630 contexts processed)
Running asm diffs of /Users/echesako/src/runtime/artifacts/spmi/mch/1d61ee87-b3be-48ae-a12e-2fb9b5b1cee7.Linux.arm64/libraries.pmi.Linux.arm64.checked.mch
Clean SuperPMI diff (225452 contexts processed)
Asm diffs summary:
  No asm diffs
echesakov commented 2 years ago

@dotnet/jit-contrib PTAL