1. 01 4月, 2022 11 次提交
    • M
      93cd0332
    • M
      Don't produce unnecessary default interface methods (#67409) · 665a0b11
      Michal Strehovský 提交于
      Found this because it was asserting in one of the Pri-0 tests. We were trying to generate a special instantiating stub for an interface type that was not a dynamic interface castable implementation. I'm adding a regression test too because it has a visible outside behavior besides the assert.
      665a0b11
    • S
      Add RemoteExecutor check in TestWaitForExitValidation (#67397) · 9b2e2a83
      Steve Pfister 提交于
      https://github.com/dotnet/runtime/pull/64860 added a TestWaitForExitValidation test that would fail when run on platforms that did not support RemoteExecutor.
      
      This change adds a `ConditionalTheory` to make sure that doesn't happen.
      9b2e2a83
    • J
      Load R2R images on osx-arm64 according to Apple's guidelines (#67118) · 64096424
      Jonathan Giannuzzi 提交于
      * Load R2R images on osx-arm64 according to Apple's guidelines
      
      * Address review comments
      
      * use MAP_PRIVATE for the mapped file
      * correct the condition
      
      * Use PAL_JitWriteProtect once per relocation
      
      * Flush instruction cache during relocation on Apple Silicon
      
      * Fix typo in comment
      
      * Use PAL_JitWriteProtect in the same spots where protection is toggled
      
      This allows to keep the instruction cache flush logic identical between platforms.
      
      * Revert the change for Intel to avoid any regression
      
      * Always unmap the file to avoid leaks + log errors
      64096424
    • M
      Makes GetChildKeys more efficient (#67186) · 09d83464
      Maryam Ariyan 提交于
      09d83464
    • T
      Mark architecture-specific tests as requiring process isolation (#67394) · 018b85a3
      Tomáš Rylek 提交于
      As discussed offline, according to the current merged wrapper
      architecture, for architecture-variant tests all versions
      are compiled and the "wrong" variants get skipped at runtime
      using the ConditionalFact attribute. Sadly for some of the ILPROJ
      tests JITting the "wrong" variant ends up crashing the JIT during
      Crossgen2 compilation. We can follow up by figuring out whether
      the crash is intentional but for now a simple way to work around
      this problem (hitting just a small number of tests) is to mark
      them as out-of-process tests so that the wrong variants get
      filtered out early and R2R compilation is not triggered for them.
      
      Thanks
      
      Tomas
      018b85a3
    • S
      Fix missing side effect flags on HWI nodes (#67206) · c4990452
      SingleAccretion 提交于
      * Set side-effect flags in constructor for HWIs
      
      * Add test
      
      * Experiment: NULL_CHECK LDOBJs
      c4990452
    • S
      Account for global stores in hoisting properly (#67213) · 7f94e6ec
      SingleAccretion 提交于
      * Take HWI stores into account in hoisting
      
      * Also fix ordinary stores while we're at it
      
      The contract for whether the LHS of a global ASG(IND, ...)
      should be marked with GLOB_REF is not clearly specified.
      
      * Add tests
      7f94e6ec
    • S
      Memory containment for `FIELD_LIST` operands on x86 (#65803) · e402d8e3
      SingleAccretion 提交于
      * Remove "inst_RV_TT" usages from non-XARCH code
      
      a) It is clearer and cheaper to directly use the emitter anyway.
      b) "inst_RV_TT" will be made XARCH-only in an upcoming change.
      
      * Refactor "inst_TT" and "inst_RV_TT"
      
      a) Make them XARCH-only.
      b) Rewrite them using "OperandDesc".
      
      * Memory containment for FIELD_LIST operands on x86
      
      Enable broader containment for FIELD_LIST operands on x86.
      
      The primary benefits come from containing loads that long
      decomposition has left (e. g. LCL_FLDs):
      
      ```diff
      -       mov      ecx, dword ptr [ebp+08H]
      -       mov      edx, dword ptr [ebp+0CH]
      -       push     edx
      -       push     ecx
      +       push     dword ptr [ebp+0CH]
      +       push     dword ptr [ebp+08H]
      ```
      
      * emitIns_A: add function header
      
      * Remove the "UNDONE: ..." printing
      
      Insert an assert instead about what we expect and handle GCInfo-wise.
      e402d8e3
    • R
      Fix Wrong exception for Open*Stream after connection is closed (#67342) · a847ddfe
      Radek Zikmund 提交于
      * Fix Wrong exception for Open*Stream after connection is closed
      
      * Don't handle InvalidState
      
      * Update src/libraries/System.Net.Quic/src/System/Net/Quic/Implementations/MsQuic/MsQuicStream.cs
      Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com>
      Co-authored-by: NNatalia Kondratyeva <knatalia@microsoft.com>
      a847ddfe
    • R
      Port Access violation occurring in... · fe0f600e
      Ravi Kumar 提交于
      Port Access violation occurring in System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipInformation fix from .netfx to .net-core (#66726)
      
      * foresttrust port from dotnetfx
      
      * fixed nullable reference error
      fe0f600e
  2. 31 3月, 2022 18 次提交
  3. 30 3月, 2022 11 次提交
    • D
      [main] Update dependencies from dotnet/arcade dotnet/xharness dotnet/runtime-assets (#67328) · a0d72123
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/xharness build 20220330.1
      
      Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
       From Version 1.0.0-prerelease.22178.1 -> To Version 1.0.0-prerelease.22180.1
      
      * Update dependencies from https://github.com/dotnet/arcade build 20220329.1
      
      Microsoft.DotNet.XUnitConsoleRunner , Microsoft.DotNet.CodeAnalysis , Microsoft.DotNet.Build.Tasks.Workloads , Microsoft.DotNet.Build.Tasks.Templating , Microsoft.DotNet.Build.Tasks.TargetFramework , 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.22171.2 -> To Version 2.5.1-beta.22179.1
      
      * Update dependencies from https://github.com/dotnet/runtime-assets build 20220329.2
      
      Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.TestData , System.Drawing.Common.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 7.0.0-beta.22177.1 -> To Version 7.0.0-beta.22179.2
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      a0d72123
    • E
    • D
      Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689955 (#67177) · 5a0564b0
      dotnet bot 提交于
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683074
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683308
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683442
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683560
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683893
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1683991
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1684448
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1684571
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1684919
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1685160
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1685380
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1685824
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1686332
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1686932
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687139
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687242
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687551
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1687851
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1688205
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1688723
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689101
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689361
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689678
      
      * Localized file check-in by OneLocBuild Task: Build definition ID 679: Build ID 1689955
      
      * Commit updated .xlf files
      Co-authored-by: NAlexander Köplinger <alex.koeplinger@outlook.com>
      5a0564b0
    • R
      Improve exception thrown when constructing SslCertificateTrust (#66763) · e9826ba3
      Radek Zikmund 提交于
      * Improve exception thrown when constructing SslCertificateTrust
      
      * Remove UnsupportedOSPlatform annotation
      
      * fixup! Remove UnsupportedOSPlatform annotation
      
      * Update ApiCompatBaseline
      e9826ba3
    • S
      b2e494c6
    • R
      Use shared SocketAddress code in QUIC (#66794) · 38fe4683
      Radek Zikmund 提交于
      * Use shared SocketAddress code in QUIC
      
      * Code review feedback
      
      * Disable broken tests
      
      * Rename file
      38fe4683
    • J
      Run fuzzers on macOS arm64 (#67297) · 4ed3063d
      Jakob Botsch Nielsen 提交于
      4ed3063d
    • S
      Do not generate `TYP_STRUCT` `LCL_FLD` nodes (#66251) · 2453f168
      SingleAccretion 提交于
      * Do not create TYP_STRUCT LCL_FLD
      
      * Fix regressions
      
      This is also a correctness fix. Missing adding zero-offset field sequences is fatal.
      
      * More fixes for regressions
      
      Types of location nodes do not matter, the underlying locations do.
      
      * Add a comment
      2453f168
    • I
      [wasm][debugger] Debuger tests refactor 63667 (#63730) · cbf3f9c4
      Ilona Tomkowicz 提交于
      * Removed a dedicated StructGetter class.
      
      * Used DerivedClass in protection level tests + fixed InvokeMethod + reverted StructureGetters removal.
      
      * Exchange ElementType in DotnetObjectId for bool.
      
      * Applied @radical's suggestion to log whole call stack instead of message.
      
      * Applied @lewing's suggestions.
      
      * Merge errors fixed.
      cbf3f9c4
    • J
      Quote file path in rc file (#67307) · 445168ad
      Jeremy Koritzinsky 提交于
      445168ad
    • D
      [main] Update dependencies from dotnet/linker (#67143) · 238b3c61
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/linker build 20220324.1
      
      Microsoft.NET.ILLink.Tasks
       From Version 7.0.100-1.22173.2 -> To Version 7.0.100-1.22174.1
      
      * Update dependencies from https://github.com/dotnet/linker build 20220328.1
      
      Microsoft.NET.ILLink.Tasks
       From Version 7.0.100-1.22173.2 -> To Version 7.0.100-1.22178.1
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      238b3c61