- 06 2月, 2022 5 次提交
-
-
由 Andy Ayers 提交于
Fixes a couple of issues exposed by forward sub, where containment analysis was allowing unsafe reordering of operands. Closes #64828. Generalize the safety check so that a store to a local not live into a handler can be reordered with respect to node causing exceptions. Happily this leads to almost uniformly better code despite the more stringent checking added above. Add a workaround for the late callbacks into the containment checker made on unlinked nodes. Assume these are always safe. Also add extra checks; fast path early out; assertion in MakeSrcContained.
-
由 Zoltan Varga 提交于
Part of the fix for https://github.com/dotnet/runtime/issues/51961. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Andy Ayers 提交于
-
由 Marie Píchová 提交于
* Brought back changes from https://github.com/dotnet/runtime/pull/54437 * Fixed tests * feedback
-
由 Jeremy Koritzinsky 提交于
Update the Roslyn Testing SDK version and update the DllImportGenerator unit tests to crash in a way that produces a dump for some of our intermittent issues (https://github.com/dotnet/runtime/issues/60909, https://github.com/dotnet/runtime/issues/62223). This mechanism will crash the process during the "exception filter" phase, so it will still have the throwing frame on the stack (no unwinding). Hopefully this will enable us to get more actionable dumps to investigate these issues and determine if they're Roslyn bugs or GC holes.
-
- 05 2月, 2022 10 次提交
-
-
由 Marek Fišera 提交于
- Fix including additional scenario test folders as HelixWorkItems. - Disable `System.Net.WebSockets.Client.Tests` on NodeJS, before we fix NodeJS. - Fix paths to echo and remote loop servers. Co-authored-by: NAnkit Jain <radical@gmail.com>
-
-
由 Sergey Andreenko 提交于
-
由 Ankit Jain 提交于
* [wasm] Remove WBT from extra-platforms, as it runs in runtime, and runtime-staging * [wasm] Run library tests on NodeJS for windows too .. in `runtime-extra-platforms`. * [wasm] runtime-extra-platforms: always run the helix step
-
由 Tomas Weinfurt 提交于
* make sure failed SSL does not imapct other sessions * move innerError * feedback from review * remove try * feedback from review
-
由 Stephen Toub 提交于
* Improve perf of Enumerable.Sum/Average/Max/Min for arrays and lists It's very common to use these terminal functions for quick stats on arrays and lists of values. Just the overhead of enumerating as an enumerable (involving multiple interface dispatch) per iteration is significant, and it's much faster to directly enumerate the contents of the array or the list. In some cases, we can further use vectorization to speed up the processing. This change: - Adds a helper that does a fast check to see if it can extract a span from an enumerable that's actually an array or a list. It could be augmented to detect other interesting types, but `T[]` and `List<T>` are the most relevant from the data I've seen, and we can fairly quickly do type checks to get the most benefit for a small amount of cost. - Uses that helper in the int/long/float/double/decimal overloads of Sum/Average/Min/Max to add a span-based path. - Vectorizes Sum for float and double - Vectorizes Average for int, float, and double (the latter two via use of Sum) * Address PR feedback
-
由 Stephen Toub 提交于
Task's IAsyncResult.AsyncWaitHandle implementation lazily creates a ManualResetEventSlim, which is then set as part of the Task completing. That AsyncWaitHandle is exposed publicly out of the surface area. If code (arguably erroneously) Dispose's of that WaitHandle before the Task has completed, the task's completion routine will incur an ObjectDisposedException, which will propagate out and potentially disrupt caller logic or even crash the process if allowed to propagate on a thread without user code to catch it. This just adds a catch (ObjectDisposedException) block to eat such an exception in order to make the system more reliable in the face of such spooky action at a distance.
-
由 Jakob Botsch Nielsen 提交于
For LIR we verify that we can really consider locals to be used at their user by having a checker that looks for interfering stores to the same locals. However, in some cases we may have "interfering" GT_LCL_FLD/GT_STORE_LCL_FLD, in the sense that they work on the same local but on a disjoint range of bytes. Add support to validate this. This fixes #57919 which made the fuzzer jobs very noisy and made it easy to miss actual new examples (e.g. #63720 was just merged even though there were real examples found there). Fix #57919
-
由 Pavel Savara 提交于
* pass ExitStatus when calling quit_ * set noExitRuntime * fix double throw * enable 64727 tests
-
由 Stephen Toub 提交于
* Fix outerloop AcceptAsync_WithTooSmallReceiveBuffer_Failure test * Remove [Outerloop] per PR feedback
-
- 04 2月, 2022 25 次提交
-
-
由 Bill Holmes 提交于
The context is a MonoMethodRuntimeGenericContext when the method is a default interface method. Also re-enable broken DIM tests. Fixes dotnet/runtime #62334
-
由 Michal Strehovský 提交于
Don't even build them as part of the clr subset, only on demand.
-
由 Ankit Jain 提交于
* [wasm][aot] Disable failing tests `Microsoft.Extensions.HostFactoryResolver.Tests`: https://github.com/dotnet/runtime/issues/64724 `Microsoft.Extensions.Logging.Tests`: https://github.com/dotnet/runtime/issues/64725 * [wasm][aot] Disable `System.Text.Json.SourceGeneration.Roslyn3.11.Unit.Tests` .. on linux. Fixes https://github.com/dotnet/runtime/issues/64762 . Real issue being tracked in https://github.com/dotnet/runtime/issues/61339 * disable failing nodejs samples * [wasm] Disable more failing tests System.Linq.Tests: https://github.com/dotnet/runtime/issues/64774 System.Text.Json.Tests: https://github.com/dotnet/runtime/issues/64775 * Disable System.Text.RegularExpressions.Tests due to issue#64769
-
由 Carlos Sanchez 提交于
Co-authored-by: NAdam Sitnik <adam.sitnik@gmail.com>
-
由 Tomas Weinfurt 提交于
* fix some test for FreeBSD * remove changes in IPGlobalPropertiesTest * disable AddLongHeader_DoesNotThrow * update description for skip
-
由 David Wrighton 提交于
Fix issue in r2rdump where conflicting generic instantiations can cause the r2rdump process to fail (#64772) - This fix ignores the problem, and will produce somewhat wrong results when looking at the PGO data of an R2R binary, but it will at least permit the R2R file to be looked at Fixes #64291
-
由 Andy Ayers 提交于
Extend ref counting done by local morph so that we can determine single-def single-use locals. Add a phase that runs just after local morph that will attempt to forward single-def single-use local defs to uses when they are in adjacent statements. Fix or work around issues uncovered elsewhere: * `gtFoldExprCompare` might fold "identical" volatile subtrees * `fgGetStubAddrArg` cannot handle complex trees * some simd/hw operations can lose struct handles * some calls cannot handle struct local args * morph expects args not to interfere * fix arm; don't forward sub no return calls * update debuginfo test (we may want to revisit this) * handle subbing past normalize on store assignment * clean up nullcheck of new helper Addresses #6973 and related issues. Still sorting through exactly which ones are fixed, so list below may need revising. Fixes #48605. Fixes #51599. Fixes #55472. Improves some but not all cases in #12280 and #62064. Does not fix #33002, #47082, or #63116; these require handling multiple uses or bypassing statements.
-
由 Egor Chesakov 提交于
Disable intrinsics tests that throw NotSupportedPlatformException on the corresponding platforms: * Add JIT/HardwareIntrinsics/** to ExcludeList on Arm32 in src/tests/issues.targets * Add JIT/HardwareIntrinsics/General/Vector256/** to ExcludeList on Arm64 in src/tests/issues.targets * Add JIT/HardwareIntrinsics/X86/** to ExcludeList on Arm64 in src/tests/issues.targets * Add JIT/HardwareIntrinsics/General/Vector64/** to ExcludeList on X64 in src/tests/issues.targets * Add JIT/HardwareIntrinsics/Arm/** to ExcludeList on X64 in src/tests/issues.targets * Add JIT/HardwareIntrinsics/General/Vector64/** to ExcludeList on X86 in src/tests/issues.targets * Add JIT/HardwareIntrinsics/Arm/** to ExcludeList on X86 in src/tests/issues.targets
-
由 Ankit Jain 提交于
* re-enable some tests * [wasm][debugger] Fix racy test - ExceptionTestAllWithReload This test is set up to pause on all exceptions. So, it has some code to hit `Debugger.resume` 100 times, hoping to skip all the non-user code exceptions. But this can sometimes not be enough, and you might have more exceptions which breaks rest of the test. Instead, we try to resume till we won't get paused for a period of 10secs. And after that, we can call the user code, and execute rest of the test. Fixes https://github.com/dotnet/runtime/issues/62666 . * [wasm][debugger] Fix racy tests that use late loaded assemblies `DebuggerTests.MiscTests.DebugLazyLoadedAssemblyWithEmbeddedPdb` `DebuggerTests.BreakpointTests.BreakpointInAssemblyUsingTypeFromAnotherAssembly_BothDynamicallyLoaded` These tests load assemblies dynamically, and depend on breakpoints in those assemblies being resolved. But the tests don't wait for that to happen. So, they can some times fail when the managed method is invoked before the breakpoint being resolved. Fixes https://github.com/dotnet/runtime/issues/62823 Fixes https://github.com/dotnet/runtime/issues/62667
-
由 Tomáš Rylek 提交于
In this particular class of tests deduplicating tests via namespace names is not useful as they use common modules expecting the namespaces to match. Thanks Tomas
-
由 Miha Zupan 提交于
* Use ordinal comparison for known header values * Match 'text/html; charset=UTF-8' again
-
由 Tomáš Rylek 提交于
This is an interesting special example of deduplication where each of the tests (Test1, Test2, Test4) runs alternatively in a single-assembly or multiple-assembly mode (compiled together with the dependent source files teststr.cs / testgenstr.cs vs. using them via dependent projects teststr.csproj / testgenstr.csproj). As the actual content of the test source code is the same in both cases and just Roslyn-compiles slightly differently based on the project structure, I have come to the conclusion that in this particular case the least amount of churn can be achieved via a preprocessor define that is used to variate the class name in the main test source files. The tests were originally building in three flavors - "in-assembly", "cross-assembly" and "cross-module". I have deleted the "cross-module" variants as I believe that they are identical to "cross-assembly". Thanks Tomas
-
由 Tomáš Rylek 提交于
Previously I refactored these tests by moving the entrypoints from the shared body_xxx source files into the test-specific expl_* and seq_* source files but I didn't realize I'd also need to put them into new uniquely named classes as we clearly cannot distinguish 30 methods named AA.TestEntrypoint(). Thanks Tomas
-
由 Tomáš Rylek 提交于
-
由 Andy Gocke 提交于
* Update mac Helix queues * Adjust test to account for Mac RID changes * Disable DllImport probing test on Mac * Disable profiler.multiple on Mac
-
由 SingleAccretion 提交于
"fgValueNumberBlockAssignment" had a very interesting oddity: it re-VNs the source tree of the assignment. This is unnecessary, and is in fact a pessimization, as it means we will fail to VN assignments from sources it does not understand. This change fixes that, bringing along some positive diffs from numbering stores from field indirections. "fgValueNumberBlockAssignment" also needs to maintaint the invariant that a location's VN will always match its type. It was failing to do that in cases where the assignment's source was not local. This change fixes that. Finally, this change unifies the code common to numbering "CopyBlk" and "InitBlk" cases. There is no need for them to be different.
-
由 Tomáš Rylek 提交于
This change converts a small number of special tests to use the [Fact] style. These tests are atypical in using various internal types declared in their source code as fields in the test class; bumping up test class visibility to public requires transitive modifications to visibility of the helper types. Thanks Tomas
-
由 Kevin Jones 提交于
-
由 John Salem 提交于
This only applies to CoreCLR Unix processes.
-
由 Maryam Ariyan 提交于
* Adds support to `@` signed prefixed parameters Fixes #60968 * Move repetitive logic to a new property * Remove NeedsAtSign
-
https://github.com/dotnet/linker由 dotnet-maestro[bot] 提交于
Microsoft.NET.ILLink.Tasks From Version 7.0.100-1.22078.1 -> To Version 7.0.100-1.22081.3 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
-
由 dotnet-maestro[bot] 提交于
[main] Update dependencies from dotnet/icu dotnet/arcade dotnet/emsdk dotnet/roslyn-analyzers (#64678) * Update dependencies from https://github.com/dotnet/icu build 20220201.1 Microsoft.NETCore.Runtime.ICU.Transport From Version 7.0.0-preview.2.22081.1 -> To Version 7.0.0-preview.2.22101.1 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220201.5 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22081.3 -> To Version 7.0.0-preview1.22101.5 * Update dependencies from https://github.com/dotnet/arcade build 20220130.1 Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk , Microsoft.DotNet.Build.Tasks.Packaging , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.Build.Tasks.Feed , Microsoft.DotNet.Build.Tasks.Archives , Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.ApiCompat , Microsoft.DotNet.XUnitExtensions , Microsoft.DotNet.GenAPI , Microsoft.DotNet.VersionTools.Tasks , Microsoft.DotNet.GenFacades , Microsoft.DotNet.SharedFramework.Sdk , Microsoft.DotNet.RemoteExecutor , Microsoft.DotNet.PackageTesting , Microsoft.DotNet.Helix.Sdk From Version 2.5.1-beta.22075.6 -> To Version 2.5.1-beta.22080.1 * Update dependencies from https://github.com/dotnet/emsdk build 20220202.3 Microsoft.NET.Workload.Emscripten.Manifest-7.0.100 From Version 7.0.0-alpha.2.22078.1 -> To Version 7.0.0-alpha.2.22102.3 * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220202.1 Microsoft.CodeAnalysis.NetAnalyzers From Version 7.0.0-preview1.22081.3 -> To Version 7.0.0-preview1.22102.1 Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com> Co-authored-by: NViktor Hofer <viktor.hofer@microsoft.com>
-
由 Maxim Lipnin 提交于
Related issues: [mono][arm6][linux] System.Net.Ping.Functional.Tests failed #64673 [mono][arm6][linux] System.Net.Tests.ServicePointManagerTest.FindServicePoint_Collectible failed. #64674 [mono][arm6][linux] System.Reflection.Tests.ModuleTests.GetField failed #64675 Co-authored-by: NAdeel Mujahid <3840695+am11@users.noreply.github.com>
-
由 Radek Zikmund 提交于
-
由 Parker Bibus 提交于
* Add dotnet install and run to test if new dotnet version can be installed similar to how it is done in the Maui repo. * Download and use local dotnet version. * Use updated dotnet for more of the pipeline. * Test with made runtime packs and and add ios arm pack substitution. * Try building instead of publishing. * Reenable everything for full test run. * Package name now seems to default to lower case, at least for maui.
-