forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Share portions of CoreCLR and Mono CoreLib's ILLinkTrim.xml file
This reduces the duplication between these libraries, and allows for easier maintenance going forward. Fix dotnet#37255
- Loading branch information
Showing
6 changed files
with
120 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,9 @@ | ||
<linker> | ||
<assembly fullname="System.Private.CoreLib"> | ||
<type fullname="Interop/Globalization"> | ||
<!-- Internal API used by tests only. --> | ||
<method name="GetICUVersion" /> | ||
</type> | ||
<type fullname="System.GC"> | ||
<!-- Methods are used to register and unregister frozen segments. They are private and experimental. --> | ||
<method name="_RegisterFrozenSegment" /> | ||
<method name="_UnregisterFrozenSegment" /> | ||
</type> | ||
<!-- Properties and methods used by a debugger. --> | ||
<type fullname="System.Threading.Tasks.Task"> | ||
<property name="ParentForDebugger" /> | ||
<property name="StateFlagsForDebugger" /> | ||
<method name="GetDelegateContinuationsForDebugger" /> | ||
<method name="SetNotificationForWaitCompletion" /> | ||
</type> | ||
<type fullname="System.Threading.ThreadPool"> | ||
<method name="GetQueuedWorkItemsForDebugger" /> | ||
<method name="GetGloballyQueuedWorkItemsForDebugger" /> | ||
<method name="GetLocallyQueuedWorkItemsForDebugger" /> | ||
</type> | ||
<type fullname="System.Threading.Tasks.TaskScheduler"> | ||
<method name="GetScheduledTasksForDebugger" /> | ||
<method name="GetTaskSchedulersForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncMethodBuilderCore"> | ||
<method name="TryGetStateMachineForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"> | ||
<property name="ObjectIdForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncVoidMethodBuilder"> | ||
<property name="ObjectIdForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncTaskMethodBuilder*"> | ||
<property name="ObjectIdForDebugger" /> | ||
<method name="SetNotificationForWaitCompletion" /> | ||
</type> | ||
<type fullname="System.Threading.Tasks.Task"> | ||
<!-- Methods is used by VS Tasks Window. --> | ||
<method name="GetActiveTaskFromId" /> | ||
</type> | ||
<!-- Accessed via private reflection by tracing controller. --> | ||
<type fullname="System.Diagnostics.Tracing.EventPipe*" /> | ||
<!-- Accessed via private reflection and by native code. --> | ||
<type fullname="System.Diagnostics.Tracing.RuntimeEventSource" /> | ||
<type fullname="System.Diagnostics.Tracing.NativeRuntimeEventSource" /> | ||
<type fullname="System.Diagnostics.Tracing.PropertyValue/ReferenceTypeHelper`1"> | ||
<!-- Instantiated via reflection --> | ||
<method name=".ctor" /> | ||
</type> | ||
<!-- Accessed via native code. --> | ||
<type fullname="System.Runtime.InteropServices.ComTypes.IEnumerable" /> | ||
<type fullname="System.Runtime.InteropServices.ComTypes.IEnumerator" /> | ||
<type fullname="System.Runtime.InteropServices.CustomMarshalers.*" /> | ||
<!-- Workaround for https://github.com/mono/linker/issues/378 --> | ||
<type fullname="System.Runtime.InteropServices.IDispatch" /> | ||
<type fullname="Internal.Runtime.InteropServices.IClassFactory2" /> | ||
<type fullname="System.Threading.ThreadPoolBoundHandle"> | ||
<!-- Workaround to keep .interfaceimpl even though this type | ||
is not instantiated on unix: | ||
https://github.com/mono/linker/pull/649 --> | ||
<method name=".ctor" /> | ||
</type> | ||
</assembly> | ||
</linker> |
63 changes: 63 additions & 0 deletions
63
src/libraries/System.Private.CoreLib/src/ILLink/ILLink.Descriptors.Shared.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<linker> | ||
<assembly fullname="System.Private.CoreLib"> | ||
<type fullname="Interop/Globalization"> | ||
<!-- Internal API used by tests only. --> | ||
<method name="GetICUVersion" /> | ||
</type> | ||
<!-- Properties and methods used by a debugger. --> | ||
<type fullname="System.Threading.Tasks.Task"> | ||
<property name="ParentForDebugger" /> | ||
<property name="StateFlagsForDebugger" /> | ||
<method name="GetDelegateContinuationsForDebugger" /> | ||
<method name="SetNotificationForWaitCompletion" /> | ||
</type> | ||
<type fullname="System.Threading.ThreadPool"> | ||
<method name="GetQueuedWorkItemsForDebugger" /> | ||
<method name="GetGloballyQueuedWorkItemsForDebugger" /> | ||
<method name="GetLocallyQueuedWorkItemsForDebugger" /> | ||
</type> | ||
<type fullname="System.Threading.Tasks.TaskScheduler"> | ||
<method name="GetScheduledTasksForDebugger" /> | ||
<method name="GetTaskSchedulersForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncMethodBuilderCore"> | ||
<method name="TryGetStateMachineForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"> | ||
<property name="ObjectIdForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncVoidMethodBuilder"> | ||
<property name="ObjectIdForDebugger" /> | ||
</type> | ||
<type fullname="System.Runtime.CompilerServices.AsyncTaskMethodBuilder*"> | ||
<property name="ObjectIdForDebugger" /> | ||
<method name="SetNotificationForWaitCompletion" /> | ||
</type> | ||
<type fullname="System.Threading.Tasks.Task"> | ||
<!-- Methods is used by VS Tasks Window. --> | ||
<method name="GetActiveTaskFromId" /> | ||
</type> | ||
<!-- Accessed via private reflection by tracing controller. --> | ||
<type fullname="System.Diagnostics.Tracing.EventPipe*" /> | ||
<!-- Accessed via private reflection and by native code. --> | ||
<type fullname="System.Diagnostics.Tracing.RuntimeEventSource" /> | ||
<type fullname="System.Diagnostics.Tracing.NativeRuntimeEventSource" /> | ||
<type fullname="System.Diagnostics.Tracing.PropertyValue/ReferenceTypeHelper`1"> | ||
<!-- Instantiated via reflection --> | ||
<method name=".ctor" /> | ||
</type> | ||
<!-- Accessed via native code. --> | ||
<type fullname="System.Runtime.InteropServices.ComTypes.IEnumerable" /> | ||
<type fullname="System.Runtime.InteropServices.ComTypes.IEnumerator" /> | ||
<type fullname="System.Runtime.InteropServices.CustomMarshalers.*" /> | ||
<!-- Workaround for https://github.com/mono/linker/issues/378 --> | ||
<type fullname="System.Runtime.InteropServices.IDispatch" /> | ||
<type fullname="Internal.Runtime.InteropServices.IClassFactory2" /> | ||
<type fullname="System.Threading.ThreadPoolBoundHandle"> | ||
<!-- Workaround to keep .interfaceimpl even though this type | ||
is not instantiated on unix: | ||
https://github.com/mono/linker/pull/649 --> | ||
<method name=".ctor" /> | ||
</type> | ||
</assembly> | ||
</linker> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters