Skip to content

Conversation

@eerhardt
Copy link
Member

@eerhardt eerhardt commented Jun 18, 2020

  • PropertyValue/ReferenceTypeHelper's pattern is recognized by the ILLinker. Protected it with a new trimming test.
  • RuntimeEventSource doesn't need to be rooted. This class is used by IL and doesn't get trimmed.
  • EventPipe* and NativeRuntimeEventSource only need to be rooted in CoreCLR, since they aren't used in Mono. So they are moved to just CoreCLR's ILLinkTrim file.

Contributes to #35199

cc @marek-safar

- Fix PropertyValue/ReferenceTypeHelper with a DynamicDependency
- RuntimeEventSource doesn't need to be rooted. This class is used by IL and doesn't get trimmed.
- EventPipe* and NativeRuntimeEventSource only need to be rooted in CoreCLR, since they aren't used in Mono. So they are moved to just CoreCLR's ILLinkTrim file.

Contributes to dotnet#35199
@ghost
Copy link

ghost commented Jun 18, 2020

Tagging subscribers to this area: @tarekgh, @tommcdon, @pjanotti
Notify danmosemsft if you want to be subscribed.

@tarekgh
Copy link
Member

tarekgh commented Jun 18, 2020

CC @noahfalk

…es this pattern, and the attribute isn't available outside of net5.0 TFM.
Copy link
Member

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@noahfalk
Copy link
Member

cc @dotnet/dotnet-diag

@eerhardt eerhardt merged commit 391dbfa into dotnet:master Jun 19, 2020
@eerhardt eerhardt deleted the TracingILLinkTrim branch June 19, 2020 14:52
@ghost ghost locked as resolved and limited conversation to collaborators Dec 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants