dotnet/runtime

Simplify JIT-EE interface modification

Open

#76 184 ouverte le 26 sept. 2022

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)C# (5 445 forks)batch import
area-CodeGen-coreclrhelp wanted

Métriques du dépôt

Stars
 (17 886 stars)
Métriques de merge PR
 (Merge moyen 12j 11h) (661 PRs mergées en 30 j)

Description

Despite the fact it was partially automated in the past it's still quite exhausting to add new APIs, I propose to address at least these issues:

  • Autogenerate corinfo.h (e.g. introduce corinfo_generated.h) part from ThunkInput.txt - we can move comments to ThunkInput.txt
  • Autogenerate superpmi-shim-simple\icorjitinfo.cpp
  • Autogenerate superpmi-shim-collector\icorjitinfo.cpp
  • Append _generated.h to all auto-generated files (currently there are still like 5 or 6 auto-generated files without them - it helps to ignore them when adding a new API) - https://github.com/dotnet/runtime/pull/77083
  • gen.bat emits two new-lines in the end of CorInfoBase.cs breaking compilation - https://github.com/dotnet/runtime/pull/77083
  • Ensure gen.bat is no-op on unchanged codebase on CI

category:cq theme:jit-ee-interface skill-level:beginner cost:small impact:small

Guide contributeur