Integrate selected changes from nativeaot branch (#53185)
authorJan Kotas <jkotas@microsoft.com>
Tue, 25 May 2021 15:02:16 +0000 (08:02 -0700)
committerGitHub <noreply@github.com>
Tue, 25 May 2021 15:02:16 +0000 (08:02 -0700)
commit517421c3545f5ed5c90a5768f01d3f27ba3d24e2
tree9633a5697c83dde7ee7e452b30a8d54436850139
parent2df392394d3a8d88b451486ea1dd983b70ed9e0d
Integrate selected changes from nativeaot branch (#53185)

- More code sharing for System.Exception
- Some support for default interface methods
- Move callling convention helpers around to avoid duplication
- Unify Environment.StackTrace
18 files changed:
src/coreclr/System.Private.CoreLib/src/System/Environment.CoreCLR.cs
src/coreclr/System.Private.CoreLib/src/System/Exception.CoreCLR.cs
src/coreclr/tools/Common/Compiler/TypeExtensions.cs
src/coreclr/tools/Common/JitInterface/CallConvHelper.cs [deleted file]
src/coreclr/tools/Common/JitInterface/CorInfoImpl.cs
src/coreclr/tools/Common/TypeSystem/Common/MetadataVirtualMethodAlgorithm.cs
src/coreclr/tools/Common/TypeSystem/Common/TypeSystemHelpers.cs
src/coreclr/tools/Common/TypeSystem/Common/VirtualMethodAlgorithm.cs
src/coreclr/tools/Common/TypeSystem/Interop/CallConvHelpers.cs [new file with mode: 0644]
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Compiler/MethodExtensions.cs [deleted file]
src/coreclr/tools/aot/ILCompiler.ReadyToRun/ILCompiler.ReadyToRun.csproj
src/libraries/Common/tests/TestUtilities/System/PlatformDetection.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/EventSource.cs
src/libraries/System.Private.CoreLib/src/System/Environment.cs
src/libraries/System.Private.CoreLib/src/System/Exception.cs
src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.cs
src/mono/System.Private.CoreLib/src/System/Environment.Mono.cs
src/mono/System.Private.CoreLib/src/System/Exception.Mono.cs