1. 01 4月, 2022 4 次提交
    • 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 18 次提交
    • 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
    • J
      Switch crossgen2 to use SHA256 for PDB hash (#67305) · ad60e446
      Jan Kotas 提交于
      ad60e446
    • T
      a85a2f5c
    • S
      Fix a couple of issues with StackTraceSymbols.TryGetReader (#67300) · fcc0351c
      Stephen Toub 提交于
      The implementation has a comment about how ConditionalWeakTable prevents multiple threads from racing to create readers, but CWT doesn't invole the delegate under its lock.  So multiple threads can actually race to create a reader, and if one loses, it won't Dispose the reader it created.  On top of this, every call to TryGetReader is allocating a closure, even if one of the fast paths is hit, because the cache callback captures all the parameters.
      fcc0351c
    • R
      [wasm] Unset PYTHONHOME (#67282) · 3a4c9b08
      Radek Doulik 提交于
      Unset PYTHONHOME environment variable. We don't use emsdk.bat, which
      unsets PYTHONHOME and PYTHONPATH variables to not clash with emscripten
      python. So we should make sure the PYTHONHOME and PYTHONPATH are not
      pointing to other python locations.
      
      Together with previous PYTHONPATH
      [change](https://github.com/dotnet/runtime/pull/63894/commits/d9b8aefcbf0efc4692c9ca46b323efcf86bda961)
      it should fix https://github.com/dotnet/runtime/issues/65859
      3a4c9b08
    • R
      Do not call into MsQuic inside a lock (#67037) · 4bd27a6d
      Radek Zikmund 提交于
      Fixes #59345
      4bd27a6d
    • A
      JIT: Use small register types for some enregisterable locals (#67274) · 7bf9ae2e
      Andy Ayers 提交于
      Fix two cases where small enregisterable locals can't be saved to the stack
      using actual (widened) types:
      * small memory args for OSX ARM64
      * promoted fields of OSR locals
      
      Closes #67152.
      Closes #67188.
      7bf9ae2e
    • P
      [wasm] Dead code removal, minor fixes (#66418) · 6019cdac
      Pavel Savara 提交于
      * - treat jsHandle and gcHandle as IntPtr on C# icall definition
      - removed IJSObject, HostObject, CoreObject empty private classes
      - removed Float32Array, Float64Array, Int8Array, Int16Array, Int32Array, Uint16Array, Uint32Array, Uint8ClampedArray, SharedArrayBuffer, Map unused private classes and their tests
      - moved Length property to Array and TypedArray types
      - removed unused eventListener helpers and it's tests
      - added Module.stackSave, Module.stackRestore, Module.stackAlloc imports
      - fixed promise reject signature
      - fixed cwrap of mono_wasm_invoke_method and mono_wasm_try_unbox_primitive_and_get_type
      - fixed string interning on StringDecoder path
      - improved assert helper
      * feedeback from @kg
      6019cdac