Skip to content

Migrate away from ILLink custom steps #10842

@sbomer

Description

@sbomer

Background

dotnet/runtime#107211 proposes moving ILLink custom steps out of the trimmer process to enable ILLink to be published trimmed and AOT compiled, transition from Mono.Cecil to System.Reflection.Metadata, and reduce the ILLink API surface.

This issue tracks the work in dotnet/android to migrate all custom steps registered via _TrimmerCustomSteps.

Before MarkStep

  • SetupStep - eliminate (pass data via MSBuild properties)
  • FixLegacyResourceDesignerStep

During MarkStep

Will become obsolete with the trimmable type map

These steps do not need to be migrated:

  • PreserveSubStepDispatcher / PreserveExportedTypes
  • MarkJavaObjects
  • PreserveJavaExceptions
  • PreserveApplications
  • PreserveRegistrations
  • PreserveJavaInterfaces
  • FixAbstractMethodsStep

After CleanStep

References

Metadata

Metadata

Assignees

Labels

Area: LinkerIssues when linking assemblies.

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions