- 04 5月, 2023 1 次提交
-
-
由 Sven Boemer 提交于
- The logic for referencing ILCompiler as an MSBuild SDK should no longer be needed because we use PackageReference. - IlcCalledViaPackage should always be true
-
- 03 5月, 2023 32 次提交
-
-
由 Kunal Pathak 提交于
* track 2nd variable offset * display frame references for 2nd variable * revert a change * revert a change * jit formnat * fix after merge-conflict * Consolidate ResetLclILoffs() * fix gcc error * fix gcc errors in arm/arm64
-
由 Michal Strehovský 提交于
Sending this for consideration. The old approach also had an advantage. Wouldn't be the end of the world if we keep that. Before this PR, accessing dispatch map involved: * Reading optional fields to find the field with the right tag * The optional field contained an integer index into a table * The index was used to index into a dispatch map table to find a pointer to the actual dispatch map * We then followed the pointer to get to the dispatch map. The advantage of this scheme is smaller working set (MethodTable is smaller), but this assumes the MethodTable has other optional fields (because we still need a pointer to the optional fields). Turns out most MethodTables only need optional fields pointer because of the dispatch map and if we move them to MethodTable, we no longer need an optional field pointer. This PR simply moves the dispatch map pointer to MethodTable. I'm seeing another 15 kB saving on BasicMinimalApi. Plus the code looks simpler.
-
由 Jakob Botsch Nielsen 提交于
Partial defs in liveness are modelled as full uses of all fields and then a full def of the entire local. The logic that handled fields directly got that right, but the logic that handled parent locals did not. For example, for IR like ``` ------------ BB18 [045..046), preds={BB16} succs={BB19} ***** BB18 STMT00096 ( INL10 @ 0x01F[E-] ... ??? ) <- INL04 @ ??? <- INLRT @ 0x045[E-] N003 ( 5, 4) [000403] -A------R-- ▌ ASG byref N002 ( 3, 2) [000402] D------N--- ├──▌ LCL_VAR byref V73 tmp45 N001 ( 1, 1) [000401] ----------- └──▌ LCL_VAR long V43 tmp15 ***** BB18 STMT00097 ( INL10 @ 0x026[E-] ... ??? ) <- INL04 @ ??? <- INLRT @ 0x045[E-] N003 ( 5, 4) [000407] -A------R-- ▌ ASG int N002 ( 3, 2) [000406] D------N--- ├──▌ LCL_VAR int V74 tmp46 N001 ( 1, 1) [000405] ----------- └──▌ LCL_VAR int V42 tmp14 ***** BB18 STMT00072 ( INL04 @ 0x073[--] ... ??? ) <- INLRT @ 0x045[E-] N007 ( 14, 14) [000627] -A--------- ▌ COMMA void N003 ( 7, 7) [000623] -A------R-- ├──▌ ASG byref N002 ( 3, 4) [000621] U------N--- │ ├──▌ LCL_FLD byref (P) V12 loc3 [+16] │ ├──▌ ref field V12._managedArray (fldOffset=0x0) -> V57 tmp29 │ ├──▌ long field V12._allocatedMemory (fldOffset=0x8) -> V58 tmp30 │ ├──▌ byref field V12._reference (fldOffset=0x10) -> V59 tmp31 │ ├──▌ int field V12._length (fldOffset=0x18) -> V60 tmp32 N001 ( 3, 2) [000622] ----------- │ └──▌ LCL_VAR byref V73 tmp45 N006 ( 7, 7) [000626] -A------R-- └──▌ ASG int N005 ( 3, 4) [000624] U------N--- ├──▌ LCL_FLD int (P) V12 loc3 [+24] ├──▌ ref field V12._managedArray (fldOffset=0x0) -> V57 tmp29 ├──▌ long field V12._allocatedMemory (fldOffset=0x8) -> V58 tmp30 ├──▌ byref field V12._reference (fldOffset=0x10) -> V59 tmp31 ├──▌ int field V12._length (fldOffset=0x18) -> V60 tmp32 N004 ( 3, 2) [000625] ----------- └──▌ LCL_VAR int V74 tmp46 ``` we would see ``` BB18 USE(6)={V58 V57 V59 V60 V42 V43 } DEF(2)={ V73 V74} ``` which is obviously incorrect as V57-V60 are all defined under this model. This would lead to an assert in SSA since SSA did treat this as a def.
-
由 Omair Majid 提交于
We now have some architectures (eg, s390x and ppc64le) that produce a .NET runtime that looks and feels like any other .NET runtime, except it's using Mono instead of CoreCLR under the hood. However, it's only possible to produce this Mono-based .NET runtime on s390x/ppc64le. That makes it hard to test this set up on other architectures. Issues that affect the mono build on all architectures - such as #66594 become harder to fix and verify because of this unnecessary architecture requirement. Fix that by adding a flag to the top-level build.sh (and also to the msbuild projects) to make it possible to produce a .NET runtime with Mono on any platform. The default configuration is unchanged: we still produced CoreCLR-based .NET runtime on x64 and a Mono-based runtime on s390x/ppc64le. Fixes: #62440
-
由 Ilona Tomkowicz 提交于
* This speeds it up ~twice. * JS's decoder always changes the codepoint. * @kg's optimization idea.
-
由 Egor Bogatov 提交于
Co-authored-by: NJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
-
由 Michal Strehovský 提交于
* `IDynamicInterfaceCastableFlag` cannot be set on types that have a component size, so move it from the valuable location in `Flags` to `FlagsEx`. * Move `HasSealedVTableEntriesFlag` from rare flags to flags. This flag is not so rare. All async state machine types set it, for example. * Delete `IsAbstractClassFlag`. This was introduce in .NET Native for `GetUninitializedObject` since accessing `Type.IsAbstract` could trigger a `MissingMetadataException` there. We got rid of that concept in NativeAOT because it cannot be reconciled with ILLink trimming. Rewrite the code to use `Type.IsAbstract`. Saves 15 kB on BasicMinimalApis, which is nice. Also makes things faster since we avoid reading optional fields and rare flags.
-
由 Viktor Hofer 提交于
Contributes to https://github.com/dotnet/runtime/issues/85641 System.Runtime.InteropServices.RuntimeInformation/4.3.0 is being referenced in a few .NET Framework builds. The reference to that package is undesirable as it brings in the entire netstandard1.x dependency graph. Instead, use System.Environment.OSVersion which returns "Microsoft Windows NT" on .NET Framework, Mono and .NETCoreApp runtimes.
-
由 Kevin Jones 提交于
* Implement Micrososoft.Bcl.Cryptography without System.Security.Cryptography.Algorithms * Assert data written * Call Initialize on the right thing
-
由 Pavel Savara 提交于
-
由 Katelyn Gadd 提交于
Use monotonic clock on wasm, emscripten added it after we initially disabled it for that target Update mono-os-mutex.h to note that we have working monotonic clock in wasm now (but not wasi, because of some other dependencies)
-
由 Kunal Pathak 提交于
* Skip stp/ldp only for unwind portion of prolog/epilog * Rename unwindarm.cpp -> unwindarmarch.cpp * review feedback
-
由 Will Smith 提交于
[JIT] ARM64 - Fix Assertion failed 'node->OperIs(GT_DIV, GT_UDIV, GT_MOD)' during 'Lowering nodeinfo' (#85664) * Rename LowerConstIntDivOrMode to TryLowerConstIntDivOrMod with an out parameter for the next node to lower * Add test case * Simplify test * Add extra assert
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230427.3 Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers From Version 3.3.5-beta1.23225.2 -> To Version 3.3.5-beta1.23227.3 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20230501.1 Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers From Version 3.3.5-beta1.23225.2 -> To Version 3.3.5-beta1.23251.1 * Fix another CA1854 warning --------- Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NStephen Toub <stoub@microsoft.com> Co-authored-by: NBuyaa Namnan <bunamnan@microsoft.com>
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dotnet/llvm-project dotnet/runtime dotnet/xharness dotnet/hotreload-utils dotnet/cecil (#85538) * Update dependencies from https://github.com/dotnet/llvm-project build 20230428.1 runtime.linux-arm64.Microsoft.NETCore.Runtime.JIT.Tools , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.JIT.Tools , runtime.linux-musl-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.JIT.Tools , runtime.linux-musl-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.linux-x64.Microsoft.NETCore.Runtime.JIT.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.linux-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.linux-x64.Microsoft.NETCore.Runtime.ObjWriter , runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx-arm64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.osx-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-arm64.Microsoft.NETCore.Runtime.JIT.Tools , runtime.win-arm64.Microsoft.NETCore.Runtime.ObjWriter , runtime.win-x64.Microsoft.NETCore.Runtime.JIT.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Sdk , runtime.win-x64.Microsoft.NETCore.Runtime.Mono.LLVM.Tools , runtime.win-x64.Microsoft.NETCore.Runtime.ObjWriter From Version 14.0.0-alpha.1.23224.3 -> To Version 14.0.0-alpha.1.23228.1 * Update dependencies from https://github.com/dotnet/runtime build 20230501.1 Microsoft.NET.ILLink.Tasks , Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json From Version 8.0.0-preview.4.23221.1 -> To Version 8.0.0-preview.5.23251.1 * Update dependencies from https://github.com/dotnet/xharness build 20230502.1 Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit From Version 1.0.0-prerelease.23228.3 -> To Version 1.0.0-prerelease.23252.1 * Update dependencies from https://github.com/dotnet/hotreload-utils build 20230501.2 Microsoft.DotNet.HotReload.Utils.Generator.BuildTool From Version 8.0.0-alpha.0.23226.3 -> To Version 8.0.0-alpha.0.23251.2 * Update dependencies from https://github.com/dotnet/cecil build 20230502.1 Microsoft.DotNet.Cecil From Version 0.11.4-alpha.23224.2 -> To Version 0.11.4-alpha.23252.1 --------- Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 kkeirstead 提交于
-
由 Ankit Jain 提交于
* [wasi] Disable failing tests in System.Runtime.Serialization.Xml.Tests Issue: https://github.com/dotnet/runtime/issues/82967, and https://github.com/dotnet/runtime/issues/73961 * [wasi] Disable failing test System.Runtime.Serialization.Xml.ReflectionOnly.Tests:DataContractSerializerTests.DCS_MemoryStream_Deserialize_CompatibleWithFullFramework Issue: https://github.com/dotnet/runtime/issues/73961 * [wasi] Disable tests failing depending on tmp fs System.Runtime.Serialization.Xml.ReflectionOnly.Tests, and System.Runtime.Serialization.Xml.Tests Test: DataContractSerializerTests.DCS_FileStreamSurrogate Issue: https://github.com/dotnet/runtime/issues/85690
-
由 Ankit Jain 提交于
.. and fix test to work for non-webcil case. Fixes issue: https://github.com/dotnet/runtime/issues/85354
-
由 Badre BSAILA 提交于
* offers the synchronous part of start and stop in IHostedService to run concurrently * pass cancellation token to Task.Run * fix cancellation token issue and eliminate a lambda
-
由 Ankit Jain 提交于
.. for AOT. https://github.com/dotnet/runtime/issues/71877
-
由 Aaron Robinson 提交于
Ensure the canonical MethodTable is always used.
-
由 Zoltan Varga 提交于
-
由 Jakob Botsch Nielsen 提交于
-
由 SingleAccretion 提交于
* Flags dump for STOREIND * gtNewAssignNode assert * Call morphing * GenTree::GetLayout fixup * If Conversion * Tail duplication * Costing * Move assignment rationalization before GC Poll insertion * Block morphing (part 1) * Block morphing: switch dst<->src around * Finish block morphing * Helper expansion phases * Fix formatting
-
由 Tomas Weinfurt 提交于
-
由 Ankit Jain 提交于
.. case. This was prompted by https://github.com/dotnet/runtime/issues/85616 where running `Invariant.Tests` breaks with: ``` Running /root/helix/work/correlation/wasmtime/wasmtime --dir=. --env=DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true dotnet.wasm WasmTestRunner managed/Invariant.Tests.dll -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing Unhandled Exception: System.ArgumentException: Invalid argument 'managed/Invariant.Tests.dll'. at SimpleWasmTestRunner.Main(String[] args) at SimpleWasmTestRunner.<Main>(String[] args) ``` - This broke because of a recent change due to which setting `InvariantGlobalization=true` meant `WasmBuildNative=true` - But this did not trigger single file bundle - And the build ended up relinking a dotnet.wasm but using the single-file bundle `main` function. Instead, we combine the two main functions and switch between the behavior depending on compile time defines. Fixes https://github.com/dotnet/runtime/issues/85616
-
由 Marek Fišera 提交于
-
由 Egor Bogatov 提交于
-
由 dotnet-maestro[bot] 提交于
Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
-
https://github.com/dotnet/arcade由 dotnet-maestro[bot] 提交于
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.TargetFramework , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.GenAPI , Microsoft.DotNet.GenFacades , Microsoft.DotNet.Helix.Sdk , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.XUnitExtensions From Version 8.0.0-beta.23224.5 -> To Version 8.0.0-beta.23226.4 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
- 02 5月, 2023 7 次提交
-
-
由 Layomi Akinrinade 提交于
* Move type graph specs into subfolder * Address misc feedback for config binder implementation
-
由 Viktor Hofer 提交于
* Remove unnecessary dependencies in System.Text.Json The `System.ValueTuple` dependency is already provided in-box in .NET Standard and therefore the down-level applicable package doesn't need to be referenced. * Update System.Text.Json.csproj * Update Versions.props
-
由 Will Smith 提交于
[JIT] X64 Fix - Handle 'imul' instruction variants to determine if a register was written to (#85610)
-
由 Thays Grazia 提交于
[mono][debugger] Support step over and pause multiple times in same line but different columns (#85484) * Support step over and pause multiple times in a like like this: for (int i = 0; i < 10; i++) * Fix name on wasm code. * Adding support to new message MDBGPROT_CMD_STACK_FRAME_GET_COUNT * Changing position of create_file_to_check_memory_address function * Adding another command MDBGPROT_CMD_STACK_FRAME_GET_PARAMETERS_COUNT * Fix arguments count
-
由 Tanner Gooding 提交于
-
由 Aaron Robinson 提交于
* ComWrappers test that allocate object can't inline There are some JIT stress settings that aggressively inline functions, regardless of size/complexity. This inlining can perturb the subtle GC assumptions inherent in the COM wrappers tests.
-
由 Jakob Botsch Nielsen 提交于
This comment seems outdated/wrong, the backend's block copy strategy when GC pointers are involved is highly tuned and often no helper is necessary at all.
-