Thays Grazia [Fri, 14 Jul 2023 13:46:00 +0000 (10:46 -0300)]
[wasm][debugger] Improve debugger performance based on JMC (#86982)
* Improve debugger performance.
* Loading assembly bytes if JMC is disabled after the debugger session is started.
* Fix CI.
* Load symbols on demand if JMC is enabled, we don't need to spend a lot of time loading information from 149 assemblies if we will probably not need all of them.
* Impriving the performance sending only metadata and not the full assembly.
* Fixing compilation error on tvos
* Apply suggestions from code review
Co-authored-by: Ankit Jain <radical@gmail.com>
* Apply suggestions from code review
Co-authored-by: Ankit Jain <radical@gmail.com>
* fix changes from code review
* addressing @radical comments
* addressing @radical and @lewing comments
---------
Co-authored-by: Ankit Jain <radical@gmail.com>
dotnet bot [Fri, 14 Jul 2023 13:16:32 +0000 (15:16 +0200)]
Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 2221896 (#88636)
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Pavel Savara [Fri, 14 Jul 2023 13:03:32 +0000 (15:03 +0200)]
[browser] detect and assert engine features (#88846)
Dan Moseley [Fri, 14 Jul 2023 12:28:12 +0000 (07:28 -0500)]
Presize dictionary in regex interpreter (#88558)
James Newton-King [Fri, 14 Jul 2023 11:25:09 +0000 (19:25 +0800)]
Add AddHttpClientDefaults (#87953)
The AddHttpClientDefaults method supports adding configuration to all created HttpClients.
The method:
- Creates a builder with a null name. Microsoft.Extensions.Configuration automatically applies configuration with a null name to all named configuration.
- Ensures that default configuration is added before named configuration in the IServiceCollection. This is to make it so the order of AddHttpClientDefaults and AddHttpClient doesn't matter. Default config is always applied first, then named config is applied after. This is done by wrapping the IServiceCollection in an implementation that modifies the order that IConfigureOptions<HttpClientFactoryOptions> values are added.
Fixes #87914
---------
Co-authored-by: Natalia Kondratyeva <knatalia@microsoft.com>
Jan Kotas [Fri, 14 Jul 2023 09:57:11 +0000 (11:57 +0200)]
Simplify condition to detect recursive inlining (#88849)
This change simplifies the conditon and also makes it more robust. There
are situation where the IL code pointer can differ for the same method.
Milos Kotlar [Fri, 14 Jul 2023 08:09:31 +0000 (10:09 +0200)]
Enable dynamic linking for maccatalyst in sandbox environment (#88847)
Andy Gocke [Fri, 14 Jul 2023 07:06:07 +0000 (00:06 -0700)]
Skip internal tool restore on mac (#88877)
Tanner Gooding [Fri, 14 Jul 2023 05:51:57 +0000 (22:51 -0700)]
Expose the DegreesToRadians and RadiansToDegrees APIs (#88866)
* Expose the DegreesToRadians and RadiansToDegrees APIs
* Adding some comments elaborating on the Degrees/Radians conversion APIs
* Update src/libraries/System.Private.CoreLib/src/System/Numerics/ITrigonometricFunctions.cs
Co-authored-by: Joe4evr <jii.geugten@gmail.com>
* Fix a copy/paste error for the Half degree to radians tests
---------
Co-authored-by: Joe4evr <jii.geugten@gmail.com>
Tanner Gooding [Fri, 14 Jul 2023 05:06:07 +0000 (22:06 -0700)]
Ensure that INumberBase implements IUtf8SpanFormattable (#88840)
* Ensure that INumberBase implements IUtf8SpanFormattable
* Ensure we return the rented buffers in the IUtf8SpanFormattable.TryFormat DIM
* Remember to slice the utf16Destination buffer and ensure we throw if we couldn't transcode back to valid UTF-8 in the DIM
* Update src/libraries/System.Private.CoreLib/src/System/Numerics/INumberBase.cs
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
* Update src/libraries/System.Private.CoreLib/src/Resources/Strings.resx
Co-authored-by: Dan Moseley <danmose@microsoft.com>
---------
Co-authored-by: Miha Zupan <mihazupan.zupan1@gmail.com>
Co-authored-by: Dan Moseley <danmose@microsoft.com>
Michal Strehovský [Fri, 14 Jul 2023 04:33:11 +0000 (13:33 +0900)]
Simplify ldftn reverse lookups (#88719)
This used a delegate because in the past we had multiple possible callbacks. Now the delegate callback is unnecessary. Saves 12 kB on Hello World with stack traces disabled (the delegate was the only thing keeping the `GetLdFtnReverseLookups_InvokeMap` method alive).
Jeremy Koritzinsky [Fri, 14 Jul 2023 04:25:23 +0000 (21:25 -0700)]
Fix alloc-dealloc mismatch (#88875)
This only started showing up in the ASAN PR once we had larger runtime tests after test consolidation.
Buyaa Namnan [Fri, 14 Jul 2023 02:57:02 +0000 (19:57 -0700)]
Enable new analyzers CA1862, CA1864 in runtime and fix findings. (#88700)
* Enable new analyzers CA1862, CA1864 in runtime and fix findings
David Mason [Fri, 14 Jul 2023 02:42:52 +0000 (19:42 -0700)]
Feature to be able to selectively deoptimize methods (#88797)
Add ICorDebugFunction5::DisableOpimizations with support for inliners in r2r and jit methods.
Co-authored-by: Mikelle <mirogers@microsoft.com>
Co-authored-by: Juan Sebastian Hoyos Ayala <juan.hoyos@microsoft.com>
Katelyn Gadd [Fri, 14 Jul 2023 02:14:06 +0000 (19:14 -0700)]
[wasm] Stop importing function table when compiling wasm modules in jiterp (#88876)
Importing the runtime's function table into compiled traces/helpers causes v8 to allocate a bunch of memory.
Jeremy Koritzinsky [Fri, 14 Jul 2023 02:10:18 +0000 (19:10 -0700)]
Strip trivia from tokens. (#88856)
* Strip trivia from tokens.
Fixes #88798
* Move the trivia stripping into ContainingSyntax record constructor
* Make ContainingSyntax a regular struct with a primary constructor instead of a record struct.
* Fix #88867
* Suppress compiler diagnostics based on the linked issue.
Fan Yang [Fri, 14 Jul 2023 01:34:07 +0000 (21:34 -0400)]
[Mono] UnsafeAccessorAttribute non-generic support for field (#88626)
* Detect an UnsafeAccessorAttribute for method with interpreter
* Change field to property
* Get Kind from typed_args
* define MonoUnsafeAccessorKind enum
* Add the frontend for JIT
* Add mono_marshal_get_unsafe_accessor_wrapper and WRAPPER_SUBTYPE_UNSAFE_ACCESSOR
And the associated AOT compiler/runtime and marshaling caching boilerplate.
* [interp] get the unsafe accessor wrapper
* fix: skip visibility in unsafe accessor wrappers
that is the whole point of them
* fix: decode the length and copy the name from UnsafeAccessorAttribute
The name has a length as a prefix and doesn not have a null terminator
* [mini] compile wrapper
* [aot] Emit unsafe accessor wrappers to the AOT image
* Add the method to emit wrapper for field
* Fix typo
* Remove assertion for interpreter
* Fix format and replace assertion with proper exception
* Free the memory and throw proper NotImplementedException
* Enable StaticField and Field tests
Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
Co-authored-by: Aaron Robinson <arobins@microsoft.com>
Thays Grazia [Fri, 14 Jul 2023 01:02:10 +0000 (22:02 -0300)]
[wasm][debugger] Fix reading metadata info after applying changes (#88685)
* fix reading metadata info
* remove unused comment
* Adding test and fixing behavior
* improve performance
* addressing @radical suggestions
* addressing @radical comments
* addressing @radical comments
David Wrighton [Fri, 14 Jul 2023 00:43:28 +0000 (17:43 -0700)]
Implement reabstraction in CoreCLR for Static Virtual Methods (#88711)
- Add a new helper for the re-abstraction case when the JIT detects an issue
- In the late bound case, instead of producing an error directly, produce an IL stub and have it make the virtual stub dispatch call itself, this will fall back to the JIT implementation for re-abstraction
- Tweak the late bound case to also actively detect the AmbiguousMatchException case as well and use the same helper there as well.
Fixes #71414
Michal Strehovský [Fri, 14 Jul 2023 00:41:41 +0000 (09:41 +0900)]
Clean up the optimizing.md document (#88816)
Most of this is duplicated with the official docs. Point to the official docs.
`IlcTrimMetadata`/`IlcGenerateCompleteMetadata` are not optimization options anymore - they aid in getting apps that have trimming warnings to work. We don't intend to support them. The rest is all documented.
Tanner Gooding [Fri, 14 Jul 2023 00:28:00 +0000 (17:28 -0700)]
Ensure that IsPow2 for floating-point numbers correctly take subnormal values into account (#88839)
Michal Strehovský [Thu, 13 Jul 2023 23:58:28 +0000 (08:58 +0900)]
Respect CopyOutputSymbolsToPublishDirectory in PublishAot (#88815)
Fixes dotnet/sdk#33476.
Andrew Au [Thu, 13 Jul 2023 23:03:29 +0000 (16:03 -0700)]
Ensure GCHeap related debugging still works even when we use newer CLRGC to target older runtimes (#88457)
Co-authored-by: Noah Falk <noahfalk@users.noreply.github.com>
Andrew Au [Thu, 13 Jul 2023 23:02:13 +0000 (16:02 -0700)]
Avoid leaking committed bytes for large pages (#87977)
Jeremy Koritzinsky [Thu, 13 Jul 2023 22:13:04 +0000 (15:13 -0700)]
Suppress Obsolete warnings in the ComInterfaceGenerator (#88859)
Jakob Botsch Nielsen [Thu, 13 Jul 2023 20:36:41 +0000 (22:36 +0200)]
JIT: Mark replacements as dirty after setting GTF_VAR_DEATH (#88669)
Physically promoted struct locals are marked as dying when their
remainder dies since all other state is stored in other locals. However,
when we do this we must also mark all replacements as stale; otherwise
a future struct use could skip writebacks and effectively introduce new
uses, invalidating the previously marked last use bit.
Fix #88616
Vlad Brezae [Thu, 13 Jul 2023 20:30:27 +0000 (23:30 +0300)]
[mono][tests] Fix deadlock in pinvoke detach test (#88855)
Without holding the condition mutex, the test is starting a new thread that is signaling us back. This means that the new thread could fail to signal us back, because there could be no waiters and the test would deadlock.
Will Smith [Thu, 13 Jul 2023 19:08:40 +0000 (12:08 -0700)]
[JIT] Added BEGIN and END anchors for disasm output (#88782)
* Added BEGIN and END anchors for disasm output
* Fixing build
* Feedback
Mario Pistrich [Thu, 13 Jul 2023 18:38:13 +0000 (20:38 +0200)]
Add missing sections in implicit machine.config (#88553)
This will add the missing sections of type IgnoreSection to the
implicitly generated machine.config.
Fix #930
Anton Firszov [Thu, 13 Jul 2023 18:05:39 +0000 (20:05 +0200)]
HttpClientHandler request metrics (#87319)
duration, current requests, failed requests
Michael Render [Thu, 13 Jul 2023 17:33:09 +0000 (13:33 -0400)]
[libs][Unix] Fix UTC alias lookup (#88641)
Buyaa Namnan [Thu, 13 Jul 2023 17:27:09 +0000 (10:27 -0700)]
Add EnumBuilder implementation and other changes (#88503)
* Add EnumBuilder implementation and other changes
* Update src/libraries/System.Reflection.Emit/src/System/Reflection/Emit/EnumBuilderImpl.cs
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* Apply feedback
---------
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Aaron Robinson [Thu, 13 Jul 2023 16:38:43 +0000 (09:38 -0700)]
Update enum value and assert (#88830)
Parker Bibus [Thu, 13 Jul 2023 16:31:53 +0000 (09:31 -0700)]
[PERF] Explicitly set dotnet root when building tools (#88801)
Explicitly set DOTNET_ROOT for building performance tools.
Jackson Schuster [Thu, 13 Jul 2023 16:16:13 +0000 (09:16 -0700)]
Do not say the wrong default behavior for blittable arrays in ComInterfaceGenerator warning (#88212)
The warning used to say the default is [In] for blittable arrays, when the default is [In, Out].
Reworks how Unnecessary / Not supported / supported [In, Out] diagnostic reporting is implemented. Each marshaller will decide which details are provided with the diagnostic and which attributes are unnecessary.
Shares a single Strings.resx with all projects. "Com" or "LibraryImport" suffixes were added to string names that conflicted.
Co-authored-by: Jeremy Koritzinsky <jekoritz@microsoft.com>
Tanner Gooding [Thu, 13 Jul 2023 16:11:59 +0000 (09:11 -0700)]
Ensure Vector256.Dot produces a V256 result (#88712)
* Ensure Vector256.Dot produces a V256 result
* Apply formatting patch
Jeremy Koritzinsky [Thu, 13 Jul 2023 16:10:31 +0000 (09:10 -0700)]
Don't generate Unmanaged-to-Managed stubs with diagnostics (#88679)
Jeremy Koritzinsky [Thu, 13 Jul 2023 16:08:56 +0000 (09:08 -0700)]
Deduplicate diagnostics emitted for managed->unmanaged and unmanaged->managed stubs (#88803)
Benjamin Petit [Thu, 13 Jul 2023 15:58:48 +0000 (17:58 +0200)]
Add Keyed Services Support to Dependency Injection (#87183)
Tanner Gooding [Thu, 13 Jul 2023 15:58:25 +0000 (08:58 -0700)]
Ensure DOTNET_MaxVectorTBitwidth is interpreted as a decimal based input, not hexadecimal (#88761)
* Ensure DOTNET_MaxVectorTBitwidth is interpreted as a decimal based input, not hexadecimal
* Use CLRConfig::LookupOptions::ParseIntegerAsBase10 instead
Marek Fišera [Thu, 13 Jul 2023 15:32:58 +0000 (17:32 +0200)]
[browser] Migrate more Blazor features, prepare JavaScript API for Blazor cleanup (#87959)
* Lazy assembly loading
* Satellite assembly loading
* Library initializers
* API cleanup
* WBT for new features
David Cantú [Thu, 13 Jul 2023 15:01:51 +0000 (10:01 -0500)]
JSON: Add support for {ReadOnly}Memory<T> (#88713)
* Add support for {ReadOnly}Memory
* Address feedback
* Remove unintentional comment
* Register {ReadOnly}MemoryByteType as a known built-in type
Kevin Jones [Thu, 13 Jul 2023 14:28:52 +0000 (10:28 -0400)]
Skip RC2 encrypted PKCS12 files on Android for iteration counting
Pavel Savara [Thu, 13 Jul 2023 14:21:55 +0000 (16:21 +0200)]
revert active issue https://github.com/dotnet/runtime/pull/88728 (#88831)
Xu Liangyu [Thu, 13 Jul 2023 13:59:21 +0000 (21:59 +0800)]
[LoongArch64] Implement Inline TLS field access for LoongArch64. (#88819)
Vlad Brezae [Thu, 13 Jul 2023 13:31:54 +0000 (16:31 +0300)]
[mono][tests] Attempt to enable test (#88722)
Tom McDonald [Thu, 13 Jul 2023 10:53:02 +0000 (06:53 -0400)]
Write perfmap and jitdump files to /tmp by default (#88776)
Co-authored-by: David Mason <davmason@microsoft.com>
Mike Voorhees [Thu, 13 Jul 2023 10:52:38 +0000 (06:52 -0400)]
Clean up usings in test cases assembly (#88678)
The main goal here is to get rid of the unused `System.Linq` usings. These cause problems for our UnityLinker tests that run against mono class libraries as it requires an additional reference. We could work around it by referencing everything in the mono class libraries, which is what illink does during it's tests. That said, some of the files had a lot of unnecessary usings and I don't think it's a bad thing to clean them up anyways.
Rather than hunt down the 10-20 files that were problematic I ran Rider's namespace clean up functionality on `Mono.Linker.Tests.Cases`
Viktor Hofer [Thu, 13 Jul 2023 07:10:54 +0000 (09:10 +0200)]
Enable the option to invoke APICompat in strict mode for ref-pack servicing (#88707)
* Fixes https://github.com/dotnet/runtime/issues/42961
Enable strict mode comparison during servicing when
`ApiCompatNetCoreAppBaselineVersion` is the current .NET version. When
the GA targeting pack is released, that property should be updated which
will turn on strict mode comparison and prohibits the addition of new
API.
Suppressing one error in the baseline file that showed-up because
out-of-band assemblies now being passed in as assembly references.
While at it I also cleaned-up how private assemblies are handled during
the build.
* PR feedback
Filip Navara [Thu, 13 Jul 2023 05:43:32 +0000 (07:43 +0200)]
Remove dead code from UnixContext.cpp (#88734)
Andy Gocke [Thu, 13 Jul 2023 05:41:24 +0000 (22:41 -0700)]
Use macos12 machines in official build (#88793)
Michal Strehovský [Thu, 13 Jul 2023 05:06:48 +0000 (14:06 +0900)]
Block newly added failing test (#88714)
Michal Strehovský [Thu, 13 Jul 2023 04:50:52 +0000 (13:50 +0900)]
Allow passing Int128 to p/invokes by reference (#88651)
Fixes #74549.
Michal Strehovský [Thu, 13 Jul 2023 04:50:28 +0000 (13:50 +0900)]
Trim RefSafetyRulesAttribute when trimming aggressively (#88717)
This is another attribute that Roslyn uses for its own purposes only.
Michal Strehovský [Thu, 13 Jul 2023 04:50:00 +0000 (13:50 +0900)]
Add set of attributes that can be trimmed on NAOT (#88718)
These are papercuts but since we have the mechanism for this...
Aaron Robinson [Thu, 13 Jul 2023 04:20:18 +0000 (21:20 -0700)]
Remove `DelegateInvokeStubManager` (#88683)
* Remove DelegateInvokeStubManager
All Delegate Invoke scenarios now use the StubLinker.
This means there is an inherent confusion between the
two stub managers. Upon further inspection combining
these two by adding a new flag on the Stub class means
they can be combined logically and simplify the code
path by removing a StubManager.
Jakob Botsch Nielsen [Thu, 13 Jul 2023 03:06:28 +0000 (05:06 +0200)]
JIT: Always consider empty remainders to be dying in physical promotion (#88665)
Liveness takes a few shortcuts that means it doesn't always handle the
case where there is no remainder as the remainder dying, so add a
special case in StructDeaths::IsRemainderDying to take care of this
case.
Some minor improvements from more last-use copy omission are expected.
Tarek Mahmoud Sayed [Thu, 13 Jul 2023 02:51:49 +0000 (19:51 -0700)]
Extend the time out for executing the test with RemoteExecutor (#88786)
Mike Voorhees [Thu, 13 Jul 2023 02:34:48 +0000 (22:34 -0400)]
Check-in changes to generated files (#88741)
I don't know anything about this file but when I build illink.sln this file is modified. I'm guessing these changes should be checked in?
dotnet-maestro[bot] [Thu, 13 Jul 2023 02:09:26 +0000 (21:09 -0500)]
[main] Update dependencies from 10 repositories (#88245)
* Update dependencies from https://github.com/dotnet/arcade build
20230629.1
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.23328.2 -> To Version 8.0.0-beta.23329.1
Dependency coherency updates
Microsoft.DotNet.XliffTasks
From Version 1.0.0-beta.23319.1 -> To Version 1.0.0-beta.23326.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/sdk build
20230630.3
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23330.3
* Update dependencies from https://github.com/dotnet/llvm-project build
20230630.2
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.23326.1 -> To Version 16.0.5-alpha.1.23330.2
* Update dependencies from https://github.com/dotnet/arcade build
20230630.1
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.23328.2 -> To Version 8.0.0-beta.23330.1
Dependency coherency updates
Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
From Version 8.0.0-beta.23314.2 -> To Version 8.0.0-beta.23328.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/sdk build
20230630.15
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23330.15
* Update dependencies from https://github.com/dotnet/runtime build
20230630.6
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.7.23325.2 -> To Version 8.0.0-preview.7.23330.6
* Update dependencies from https://github.com/dotnet/arcade build
20230703.2
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.23328.2 -> To Version 8.0.0-beta.23353.2
Dependency coherency updates
Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
From Version 8.0.0-beta.23314.2 -> To Version 8.0.0-beta.23330.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/icu build
20230703.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 8.0.0-preview.7.23326.2 -> To Version 8.0.0-preview.7.23353.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build
20230703.3
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 8.0.0-alpha.0.23326.2 -> To Version 8.0.0-alpha.0.23353.3
* Update dependencies from https://github.com/dotnet/sdk build
20230704.2
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23354.2
* Update dependencies from https://github.com/dotnet/runtime-assets build
20230705.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 8.0.0-beta.23326.1 -> To Version 8.0.0-beta.23355.1
* Update dependencies from https://github.com/dotnet/emsdk build
20230705.1
Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
From Version 8.0.0-preview.7.23326.1 -> To Version 8.0.0-preview.7.23355.1
* Update dependencies from https://github.com/dotnet/sdk build
20230705.4
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23355.4
* Update dependencies from https://github.com/dotnet/sdk build
20230706.6
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23356.6
* Update dependencies from https://github.com/dotnet/arcade build
20230706.1
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.23328.2 -> To Version 8.0.0-beta.23356.1
Dependency coherency updates
Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
From Version 8.0.0-beta.23314.2 -> To Version 8.0.0-beta.23330.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/sdk build
20230707.1
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23357.1
* Update dependencies from https://github.com/dotnet/arcade build
20230707.3
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.23328.2 -> To Version 8.0.0-beta.23357.3
Dependency coherency updates
Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
From Version 8.0.0-beta.23314.2 -> To Version 8.0.0-beta.23355.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/sdk build
20230707.13
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23357.13
* Update dependencies from https://github.com/dotnet/arcade build
20230710.1
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.23328.2 -> To Version 8.0.0-beta.23360.1
Dependency coherency updates
Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
From Version 8.0.0-beta.23314.2 -> To Version 8.0.0-beta.23358.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/runtime build
20230709.3
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.7.23325.2 -> To Version 8.0.0-preview.7.23359.3
* Update dependencies from https://github.com/dotnet/sdk build
20230710.1
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23360.1
* reenable json reflection
* Move setting to test project template
* Update dependencies from https://github.com/dotnet/arcade build
20230710.4
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.23328.2 -> To Version 8.0.0-beta.23360.4
Dependency coherency updates
Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
From Version 8.0.0-beta.23314.2 -> To Version 8.0.0-beta.23359.1 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/icu build
20230710.1
Microsoft.NETCore.Runtime.ICU.Transport
From Version 8.0.0-preview.7.23326.2 -> To Version 8.0.0-preview.7.23360.1
* Update dependencies from https://github.com/dotnet/xharness build
20230710.3
Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
From Version 8.0.0-prerelease.23326.1 -> To Version 8.0.0-prerelease.23360.3
* Update dependencies from https://github.com/dotnet/runtime-assets build
20230710.1
Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Data.Common.TestData , System.Drawing.Common.TestData , System.Formats.Tar.TestData , System.IO.Compression.TestData , System.IO.Packaging.TestData , System.Net.TestData , System.Private.Runtime.UnicodeData , System.Runtime.Numerics.TestData , System.Runtime.TimeZoneData , System.Security.Cryptography.X509Certificates.TestData , System.Text.RegularExpressions.TestData , System.Windows.Extensions.TestData
From Version 8.0.0-beta.23326.1 -> To Version 8.0.0-beta.23360.1
* Update dependencies from https://github.com/dotnet/hotreload-utils build
20230710.1
Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
From Version 8.0.0-alpha.0.23326.2 -> To Version 8.0.0-alpha.0.23360.1
* Update dependencies from https://github.com/dotnet/cecil build
20230710.2
Microsoft.DotNet.Cecil
From Version 0.11.4-alpha.23327.1 -> To Version 0.11.4-alpha.23360.2
* Update dependencies from https://github.com/dotnet/sdk build
20230711.2
Microsoft.DotNet.ApiCompat.Task
From Version 8.0.100-preview.7.23329.3 -> To Version 8.0.100-preview.7.23361.2
* Moving JsonSerializerIsReflectionEnabledByDefault to only be set in the tests that need it.
* Update Version.Details.xml
* Update Versions.props
* Enable the reflection serializer for EAT builds
* Update dependencies from https://github.com/dotnet/arcade build
20230711.1
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.23328.2 -> To Version 8.0.0-beta.23361.1
Dependency coherency updates
Microsoft.SourceLink.GitHub,Microsoft.DotNet.XliffTasks
From Version 8.0.0-beta.23314.2 -> To Version 8.0.0-beta.23360.2 (parent: Microsoft.DotNet.Arcade.Sdk
* Update dependencies from https://github.com/dotnet/emsdk build
20230711.2
Microsoft.NET.Workload.Emscripten.Current.Manifest-8.0.100.Transport
From Version 8.0.0-preview.7.23326.1 -> To Version 8.0.0-preview.7.23361.2
* move the JsonSerializerIsReflectionEnabledByDefault to tests.wasm.targets
* [wasm] WBT: Fix breaking tests
`Wasm.Build.Tests.WasmTemplateTests.RunWithDifferentAppBundleLocations`
broke with the latest sdk:
`/root/helix/work/workitem/e/dotnet-latest/sdk/8.0.100-preview.7.23362.1/Roslyn/Microsoft.CSharp.Core.targets(80,5): error MSB6004: The specified task executable location "/root/helix/work/workitem/e/dotnet-latest/dotnet/dotnet" is invalid.`
This was because https://github.com/dotnet/roslyn/pull/68918 changed
to expect `DOTNET_ROOT` to be a directory instead of the exe path.
* Update tests.wasm.targets
* [wasm] set JsonSerializerIsReflectionEnabledByDefault unconditionally
feedback from @eiriktsarpalis
* Update eng/testing/tests.wasm.targets
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
* Json Trimming tests use DisabledProperties
* [wasm] WBT: Set DOTNET_ROOT for tests
* [wasm] WBT: Set DOTNET_ROOT explicitly in the helix environment
The `NonWasmTemplateBuildTests` avoid using the default environment
variables used for all other tests, which includes `DOTNET_ROOT`. Set
`DOTNET_ROOT` explicitly in the helix setup script for windows, so we
always have a fallback.
```
Wasm.Build.Tests.NonWasmTemplateBuildTests.NonWasmConsoleBuild_WithoutWorkload(config: "Debug", extraBuildArgs: "", targetFramework: "net6.0") [FAIL]
Expected 0 exit code but got 1: C:\helix\work\workitem\e\dotnet-none\dotnet.exe build -restore -c Debug -bl:C:\helix\work\workitem\uploads\xharness-output\logs\nonwasm_net6.0_Debug_iyhtgmvj.uu4.binlog -f net6.0
Standard Output:
[] MSBuild version 17.8.0-preview-23361-03+
5ab64ed27 for .NET
[] Determining projects to restore...
[] Restored C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj (in 820 ms).
[] Determining projects to restore...
[] Restored C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj (in 11.21 sec).
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(314,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : You must install or update .NET to run this application. [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : App: C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\bincore\csc.dll [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Architecture: x64 [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Framework: 'Microsoft.NETCore.App', version '8.0.0-preview.7.23361.9' (x64) [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : .NET location: C:\helix\work\correlation\dotnet-cli\ [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : The following frameworks were found: [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : 8.0.0-preview.5.23280.8 at [C:\helix\work\correlation\dotnet-cli\shared\Microsoft.NETCore.App] [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Learn more: [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet/app-launch-failed [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : To install missing framework, download: [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0-preview.7.23361.9&arch=x64&rid=win10-x64 [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[]
```
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
Jan Dupej [Wed, 12 Jul 2023 23:09:20 +0000 (01:09 +0200)]
[mono] Expanding a marshaller error message (#88726)
* Expanding error message in #46926
* Removing unnecessary code.
dotnet-maestro[bot] [Wed, 12 Jul 2023 22:33:19 +0000 (17:33 -0500)]
[main] Update dependencies from dnceng/internal/dotnet-optimization (#88521)
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build
20230706.3
optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
From Version 1.0.0-prerelease.23354.4 -> To Version 1.0.0-prerelease.23356.3
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build
20230707.5
optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
From Version 1.0.0-prerelease.23354.4 -> To Version 1.0.0-prerelease.23357.5
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build
20230708.5
optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
From Version 1.0.0-prerelease.23354.4 -> To Version 1.0.0-prerelease.23358.5
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build
20230709.2
optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
From Version 1.0.0-prerelease.23354.4 -> To Version 1.0.0-prerelease.23359.2
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build
20230710.7
optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
From Version 1.0.0-prerelease.23354.4 -> To Version 1.0.0-prerelease.23360.7
* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build
20230711.5
optimization.linux-arm64.MIBC.Runtime , optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-arm64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
From Version 1.0.0-prerelease.23354.4 -> To Version 1.0.0-prerelease.23361.5
---------
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Andy Ayers [Wed, 12 Jul 2023 21:48:15 +0000 (14:48 -0700)]
JIT: fix recursive inline check (#88749)
The existing check was too conservative, and blocked inlines of one instantation
of a generic method into a different instantiation of the same method, or of two
different methods that share the exact same IL stream.
Generalize the check to also compare the method handle and runtime context.
Fixes #88667
Fixes #58824
Alexander Soldatov [Wed, 12 Jul 2023 21:35:22 +0000 (00:35 +0300)]
[RISC-V] Missing defines in GC (#88661)
Ankit Jain [Wed, 12 Jul 2023 21:10:58 +0000 (17:10 -0400)]
[wasm] WBT: Fix breaking tests (#88751)
* [wasm] WBT: Fix breaking tests
`Wasm.Build.Tests.WasmTemplateTests.RunWithDifferentAppBundleLocations`
broke with the latest sdk:
`/root/helix/work/workitem/e/dotnet-latest/sdk/8.0.100-preview.7.23362.1/Roslyn/Microsoft.CSharp.Core.targets(80,5): error MSB6004: The specified task executable location "/root/helix/work/workitem/e/dotnet-latest/dotnet/dotnet" is invalid.`
This was because https://github.com/dotnet/roslyn/pull/68918 changed
to expect `DOTNET_ROOT` to be a directory instead of the exe path.
* [wasm] WBT: Set DOTNET_ROOT for tests
* [wasm] WBT: Set DOTNET_ROOT explicitly in the helix environment
The `NonWasmTemplateBuildTests` avoid using the default environment
variables used for all other tests, which includes `DOTNET_ROOT`. Set
`DOTNET_ROOT` explicitly in the helix setup script for windows, so we
always have a fallback.
```
Wasm.Build.Tests.NonWasmTemplateBuildTests.NonWasmConsoleBuild_WithoutWorkload(config: "Debug", extraBuildArgs: "", targetFramework: "net6.0") [FAIL]
Expected 0 exit code but got 1: C:\helix\work\workitem\e\dotnet-none\dotnet.exe build -restore -c Debug -bl:C:\helix\work\workitem\uploads\xharness-output\logs\nonwasm_net6.0_Debug_iyhtgmvj.uu4.binlog -f net6.0
Standard Output:
[] MSBuild version 17.8.0-preview-23361-03+
5ab64ed27 for .NET
[] Determining projects to restore...
[] Restored C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj (in 820 ms).
[] Determining projects to restore...
[] Restored C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj (in 11.21 sec).
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(314,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : You must install or update .NET to run this application. [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : App: C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\bincore\csc.dll [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Architecture: x64 [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Framework: 'Microsoft.NETCore.App', version '8.0.0-preview.7.23361.9' (x64) [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : .NET location: C:\helix\work\correlation\dotnet-cli\ [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : The following frameworks were found: [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : 8.0.0-preview.5.23280.8 at [C:\helix\work\correlation\dotnet-cli\shared\Microsoft.NETCore.App] [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : Learn more: [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet/app-launch-failed [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : To install missing framework, download: [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[] C:\helix\work\workitem\e\dotnet-none\sdk\8.0.100-preview.7.23362.1\Roslyn\Microsoft.CSharp.Core.targets(80,5): error : https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=8.0.0-preview.7.23361.9&arch=x64&rid=win10-x64 [C:\helix\work\workitem\e\wbt\nonwasm_net6.0_Debug_iyhtgmvj.uu4\nonwasm_net6.0_Debug_iyhtgmvj.uu4.csproj]
[]
```
Vlad Brezae [Wed, 12 Jul 2023 19:14:29 +0000 (22:14 +0300)]
[mono][mini] Fix conversion from STACK_PTR to R8 (#88745)
* [mono][mini] Fix conversion from STACK_PTR
It was hardcoded to int conversion instead of checking the arch ptr size.
* Enable tests
Pavel Savara [Wed, 12 Jul 2023 18:31:41 +0000 (20:31 +0200)]
enable JsImportTaskTypes (#88728)
dotnet-maestro[bot] [Wed, 12 Jul 2023 17:40:38 +0000 (12:40 -0500)]
Update dependencies from https://github.com/dotnet/roslyn-analyzers build
20230710.1 (#88658)
Microsoft.CodeAnalysis.Analyzers , Microsoft.CodeAnalysis.NetAnalyzers
From Version 3.11.0-beta1.23357.1 -> To Version 3.11.0-beta1.23360.1
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Aleksey Kliger (λgeek) [Wed, 12 Jul 2023 17:22:55 +0000 (13:22 -0400)]
[interp] break up MINT_LDSTR_TOKEN into two opcodes (#88738)
MINT_LDSTR_DYNAMIC for dynamic methods. the data item is an index
into the DynamicMethod:method.method_data which stores pointers to
MonoString objects that are held by the managed DynamicMethod.
MINT_LDSTR_CSTR for ilgen wrappers. the data item is a raw C string
that is global, or was allocated by malloc
Fixes https://github.com/dotnet/runtime/issues/88694 by allowing
MINT_LDSTR_CSTR in any method since we no longer depend on
mono_method_get_wrapper_data at execution time. And at transform time
we have access to the actual wrapper method.
Mark Plesko [Wed, 12 Jul 2023 16:32:23 +0000 (09:32 -0700)]
Add GC.KeepAlive to COM paths in WeakReference (#88537)
Omission was noticed by @AustinWise. I reproed the failure and this fix for it on linux-x64.
Fixes #81362
Will Smith [Wed, 12 Jul 2023 16:12:15 +0000 (09:12 -0700)]
Fix SuperFileCheck from failing outerloop (#88692)
Layomi Akinrinade [Wed, 12 Jul 2023 15:57:08 +0000 (08:57 -0700)]
Update binding generator to do case-insensitive config-key/property name matching, & make some formatting improvements (#88338)
* Update binding generator to do case-insensitive config-key/property name matching, & make some formatting improvements
* Address feedback
Aleksey Kliger (λgeek) [Wed, 12 Jul 2023 15:44:31 +0000 (11:44 -0400)]
[mono][threads] save/restore errno in thread state transitions (#79856)
* [threads] Save errno when using posix semaphores for thread transitions
We already save/restore GetLastError on win32. Do it on posix platforms, too.
If one thread is in a pinvoke wrapper, while another thread triggers a STW, the pinvoke wrapper will self-suspend the thread and wait for a notification to resume. Depending on the platform we can use win32 primitives, Mach semaphores or POSIX semaphores. win32 and posix can both change the value of last error (errno, respectively) while the thread is suspended.
That means that code like this (generated by the LibraryImportAttribute source generator) cannot reliably retrieve the error from the last pinvoke:
```csharp
__retVal = __PInvoke(__path_native, mode); // there is a pinvoke wrapper here, that transitions from GC Safe to GC Unsafe mode
__lastError = System.Runtime.InteropServices.Marshal.GetLastSystemError();
```
The solution is to explicitly preserve the value of GetLastError/errno when exiting from GC Safe.
Fixes https://github.com/dotnet/runtime/issues/77364
* rename W32_DEFINE_LAST_ERROR_RESTORE_POINT to MONO_DEFINE_LAST_ERROR_RESTORE_POINT
and W32_RESTORE_LAST_ERROR_FROM_RESTORE_POINT to MONO_RESTORE_LAST_ERROR_FROM_RESTORE_POINT
Steve Harter [Wed, 12 Jul 2023 13:48:39 +0000 (08:48 -0500)]
Move startup validation to the options assembly (#88546)
Thays Grazia [Wed, 12 Jul 2023 13:34:34 +0000 (10:34 -0300)]
Bumping .net7 and .net6 version (#88698)
Pavel Savara [Wed, 12 Jul 2023 11:25:03 +0000 (13:25 +0200)]
[browser][mt] smoke test active issues (#88676)
Lakshan Fernando [Wed, 12 Jul 2023 10:44:54 +0000 (03:44 -0700)]
Enable finalizer events for EventPipe (#88604)
* Enable finalizer events for EventPipe
* FB
Katelyn Gadd [Wed, 12 Jul 2023 07:15:00 +0000 (00:15 -0700)]
[wasm] Optimize Vector128<float>/<double>.Equals in interp/jiterp (#88064)
* Add browser-bench measurement for int32 and float equals
* Add interp intrinsics for Vector128 float and double Equals methods
* Implement Vector128 float and double Equals methods in jiterp
* Add jiterp validation to make sure we never appendSimd(0) by accident
SingleAccretion [Wed, 12 Jul 2023 06:48:25 +0000 (09:48 +0300)]
Do not use RhGetCodeTarget in delegate equality (#88611)
https://github.com/dotnet/corert/commit/
08d78ae391e3eea9ad51265f867e42ee1649282d
The original motivation for this was handling import stubs:
```
Function pointer equality comparison was not handling cross-module pointers correctly when optimizations were enabled
(causes target pointers to be wrapped in jump stubs sometimes). The delegate equality comparison was hitting this bug.
```
We do not have import stubs anymore and unwrapping unboxing stubs serves no purpose here.
Microbenchmarks of delegate equality show ~3x improvement with this change:
```
Bench_DelegateEquality_Positive_OpenStatic<
10000000>() took: 355 ms
Bench_DelegateEquality_Positive_ClosedStatic<
10000000>() took: 367 ms
Bench_DelegateEquality_Positive_ClosedInstance<
10000000>() took: 371 ms
Bench_DelegateEquality_Positive_OpenStatic<
10000000>() took: 121 ms
Bench_DelegateEquality_Positive_ClosedStatic<
10000000>() took: 120 ms
Bench_DelegateEquality_Positive_ClosedInstance<
10000000>() took: 122 ms
```
Additionally, there is some desire to upstream changes for a portable RhGetCodeTarget implementation. Not having to
deal with it at this relatively low-level layer will make things more robust.
Ankit Jain [Wed, 12 Jul 2023 06:09:40 +0000 (02:09 -0400)]
[wasm] Wasm.Build.Tests - some refactoring, and rationalizing (#88357)
Tanner Gooding [Wed, 12 Jul 2023 05:12:34 +0000 (22:12 -0700)]
Expose IUtf8SpanParsable and implement it on the primitive numeric types (#86875)
* Expose IUtf8SpanParsable
* Have INumberBase implement IUtf8SpanParsable
* Deduplicate some floating-point parsing logic
* Refactoring the primitive parsing logic to support UTF-8
* Updating the primitive numeric types to include UTF-8 parsing support
* Adding tests covering the new UTF-8 parsing support
* Ensure that tests don't try to capture a span in lambda
* Ensure that MatchChars does the right thing
* Account for the switch from string to ROSpan<TChar> for currSymbol
* Ensure EqualsIgnoreCaseUtf8_Scalar handles the remaining elements correctly
* Allow alloc-free conversion for the UTF8 parsing fallback paths
* Remove unnecessary attributes and ensure trailing elements are correctly handled
* Fix the handling of UTF8 as per the feedback
* Fix a slightly broken merge
* Ensure the lengths are properly checked on the ASCII path
* Ensure that length is defined for 32-bit
* Responding to PR feedback and allow invalid sequences to self match
* Fixing a copy/paste error
* Fixing a build failure due to not assigning the out parameter
SingleAccretion [Wed, 12 Jul 2023 02:12:47 +0000 (05:12 +0300)]
Switch the order of AOT SDK and framework assemblies (#88703)
When you have built a CoreCLR CoreLib, it "poisons" the build
s.t. running libraries tests with NAOT becomes impossible.
This is because $(IlcFrameworkPath) draws from a shared framework
that contains the CoreCLR CoreLib, while it should use the CoreLib
from the AOT SDK.
This targeted change changes the order in which these two assemblies
get passed to ILC and allows one to use "/p:TestNativeAot=true"
without additional workarounds.
Tarek Mahmoud Sayed [Tue, 11 Jul 2023 23:55:43 +0000 (16:55 -0700)]
Fix options source gen with non-accessible validation attributes (#88613)
David Wrighton [Tue, 11 Jul 2023 23:41:24 +0000 (16:41 -0700)]
Fix virtual static dispatch for variant interfaces when using default implementations (#88639)
- Move the handling for variance so that it is in the same place as it is for instance methods
- Validate the behavior of such dispatch is equivalent to the dispatch behavior involving instance variant default dispatch
- Rework the fix for #80350 to avoid violating an invariant of the type system (which is that all MethodDef's of a TypeDef are loaded as MethodDescs when loading the open type).
Fixes #78621
Tanner Gooding [Tue, 11 Jul 2023 22:26:36 +0000 (15:26 -0700)]
Ensure that the CpuId tests set preferredVectorByteLength to a non-zero value (#88623)
* Ensure that the CpuId tests set preferredVectorByteLength to a non-zero value
* Ensure getPreferredVectorByteLength takes NAOT into account
* Don't condition the preferred vector byte length based on stress mode
Zoltan Varga [Tue, 11 Jul 2023 21:42:15 +0000 (17:42 -0400)]
[mono] Fix the formatting of field types FieldInfo.ToString () so it matches clr. (#88648)
Fixes https://github.com/dotnet/runtime/issues/88637.
Alexander Radchenko [Tue, 11 Jul 2023 20:51:43 +0000 (02:51 +0600)]
Read/Write Big/LittleEndian support for Guid (#87993)
* Read/Write Big/LittleEndian support for Guid
* Code review
* Jan Kotas code review
* Code review
MemoryMarshal.Read<Guid>(b);
[DoesNotReturn]
* Use MemoryMarshal.AsRef
* code review try AsBytes(Guid)
Milos Kotlar [Tue, 11 Jul 2023 19:34:35 +0000 (21:34 +0200)]
[nativeaot] Add Native AOT cross-build support for iOS-like platforms (#88242)
* Add Native AOT cross-build support for iOS-like platforms
* Add -hostos parameter for cross-components build
---------
Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
Jeremy Koritzinsky [Tue, 11 Jul 2023 18:46:35 +0000 (11:46 -0700)]
Add more docs for new COM source generator types (#88627)
Eric Erhardt [Tue, 11 Jul 2023 16:55:13 +0000 (11:55 -0500)]
Respect IsDynamicCodeSupported in more places in Linq.Expressions (#88539)
* Respect IsDynamicCodeSupported in more places in Linq.Expressions
* CanEmitObjectArrayDelegate
* CanCreateArbitraryDelegates
These properties are all set to `false` when running on NativeAOT, so have them respect RuntimeFeature.IsDynamicCodeSupported.
However, CanEmitObjectArrayDelegate needs a work around because DynamicDelegateAugments.CreateObjectArrayDelegate does not exist in CoreClr's System.Private.CoreLib.
Allow System.Linq.Expressions to create an object[] delegate using Ref.Emit even though RuntimeFeature.IsDynamicCodeSupported is set to false (ex. using a feature switch). To enable this, add an internal method in CoreLib that temporarily allows the current thread to skip the RuntimeFeature check and allows DynamicMethod instances to be created. When System.Linq.Expressions needs to generate one of these delegates, it calls the internal method through Reflection and continues to use Ref.Emit to generate the delegate.
Fix #81803
Dan Moseley [Tue, 11 Jul 2023 16:42:37 +0000 (11:42 -0500)]
remove [::] treatment (#88590)
Michal Strehovský [Tue, 11 Jul 2023 08:33:01 +0000 (17:33 +0900)]
Move Win32 resource emission to the compiler (#88464)
Fixes #79634.
To generate Win32 resources, we'd first use an MSBuild task to dump Win32 resources from the input IL module into a `.res` file. We'd then pass the `.res` file to link.exe. Link.exe would then invoke cvtres.exe to convert the `.res` file to `.obj`. Link.exe then links the `.obj` into the final executable.
Skip all of this and instead generate the correct object data in the compiler directly. I'm reusing Win32 resource emission logic from crossgen2. It already mostly does the right thing - we just needed to split the `.rsrc` section into `.rsrc$01` and `.rsrc$02` that link.exe expects. The first part has the data directory. The second part has the actual resource data.
Contributes to #73931. The cvtres step was actually non-deterministic because it creates an object file in TEMP and embeds this temporary name into the object.
Alexander Köplinger [Tue, 11 Jul 2023 08:30:02 +0000 (10:30 +0200)]
Disable outerloop tests on mono/mobile and fix timeout in sendtohelixhelp.proj (#79885)
The Helix workitem timeout still looked for the old `Outerloop` property but we're using `TestScope` instead now.
Michal Strehovský [Tue, 11 Jul 2023 04:50:09 +0000 (13:50 +0900)]
Add support to specify substitutions externally (#88230)
ILLinker allows specifying substitutions on the command line, same as descriptors. This can be useful for various workarounds. Add support for this for ILC as well.
Ankit Jain [Tue, 11 Jul 2023 00:59:46 +0000 (20:59 -0400)]
[wasm][debugger] Fix regex for helix retries when chrome fails to launch (#88632)
Thays Grazia [Tue, 11 Jul 2023 00:28:56 +0000 (21:28 -0300)]
Fix hotreload 88528 (#88635)
Mike Lorbetske [Tue, 11 Jul 2023 00:26:57 +0000 (19:26 -0500)]
Fixes #82871 Add an additional constructor for StackTrace (#88542)
* Fixes #82871 Add an additional constructor for StackTrace
* Update new signature as prescribed
Update ref
Add tests
* Updated documentation
* Use the constructor for List<T> that takes in the set of objects it should contain
Dan Moseley [Tue, 11 Jul 2023 00:08:12 +0000 (19:08 -0500)]
Add some xml comments (#88433)
Zoltan Varga [Mon, 10 Jul 2023 23:41:24 +0000 (19:41 -0400)]
[mono] Precompute the CallInfo structure used by the mono_arch_..nati… (#88369)
* [mono] Precompute the CallInfo structure used by the mono_arch_..native_call_context_.. functions.
* Fix indentation.
* Fix the arm build.
Zoltan Varga [Mon, 10 Jul 2023 23:07:24 +0000 (19:07 -0400)]
[mono][aot] Avoid prefer-ing gsharedvt versions of AsyncMethodBuilderCore etc. methods in profile-only mode. (#87990)
The gsharedvt versions might not be generated if they are not in the profile, leading to crashes
at runtime.
Fixes https://github.com/dotnet/runtime/issues/87856.