Skip to content

Conversation

@vitek-karas
Copy link
Member

  • Change FlowAnnotations to a ref type (class) - in AOT and linker it stores non-trivial amount of state (caches) and thus should be shared (ideally single instance). Struct is not very practical for such usage.
  • Explicitly mark all sources in the shared project as #nullable enable since Native AOT doesn't enable nullable project wide yet.
  • Add several new intrinsics which are specific to AOT - considered separating these out, but it's probably not worth it. It's likely the analyzer should eventually react to these as well, so linker will be the only one not using them.
  • Added one more test for an interesting case of RUC suppressing warnings in attribute processing.

@vitek-karas vitek-karas merged commit 94cc93c into dotnet:main Jun 3, 2022
@vitek-karas vitek-karas deleted the SyncToAot branch June 3, 2022 18:44
agocke pushed a commit to dotnet/runtime that referenced this pull request Nov 16, 2022
* Change FlowAnnotations to a ref type (class) - in AOT and linker it stores non-trivial amount of state (caches) and thus should be shared (ideally single instance). Struct is not very practical for such usage.
* Explicitly mark all sources in the shared project as `#nullable enable` since Native AOT doesn't enable nullable project wide yet.
* Add several new intrinsics which are specific to AOT - considered separating these out, but it's probably not worth it. It's likely the analyzer should eventually react to these as well, so linker will be the only one not using them.
* Added one more test for an interesting case of RUC suppressing warnings in attribute processing.

Commit migrated from dotnet/linker@94cc93c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants