1. 10 6月, 2022 2 次提交
    • T
      Fix Crossgen2 PDB generator (#70407) · a325e52e
      Tomáš Rylek 提交于
      * Fix Crossgen2 PDB generator
      
      During my perf investigation work I have found out that PDB emitter
      in Crossgen2 is broken. I tracked this down to the change
      
      https://github.com/dotnet/runtime/commit/fdf6485c800ec580656d7491795e10881d493afb#diff-24e48862e3b82f52e7fa04f22700b1c976a012bfeb08a246406f4e5ec579699b
      
      that caused two behavioral changes in the PDB emitter:
      
      1) The logic around QueryPDBNameEx got refactored to use a char[]
      instead of a StringBuilder and that silently caused _pdbFilePath
      to be set to the string "System.Char[]" instead of the actual path
      (cf PdbWriter.cs#221 in the quoted commit).
      
      2) The COM wrapper refactoring ended up bumping the refcount
      on the _ngenWriter by one so that it never got actually closed
      and properly flushed; due to this the resulting PDB was invalid.
      
      Thanks
      
      Tomas
      a325e52e
    • J
      JIT: Unspecialize handle types after arithmetic ops in VN (#70452) · 9080239f
      Jakob Botsch Nielsen 提交于
      VN was retaining the precise handle types when applying arithmetic
      operations to handles. This meant that we could not rely on handles of
      types like GTF_ICON_METHOD_HDL actually containing an embedded method
      handle after constant propagation.
      
      This change generalizes the handle type to GTF_ICON_CONST_PTR or
      GTF_ICON_GLOBAL_PTR whenever VN does anything that semantically
      "unassociates" the icon from the specialized handle type.
      9080239f
  2. 09 6月, 2022 27 次提交
  3. 08 6月, 2022 11 次提交
    • T
      update dogfooding instruction for 7.0 (#70423) · 7ca76eca
      Tomas Weinfurt 提交于
      * update dogfooding instruction for 7.0
      
      * update example
      
      * Update docs/project/dogfooding.md
      Co-authored-by: NMartin Costello <martin@martincostello.com>
      7ca76eca
    • D
      [main] Update dependencies from 8 repositories (#69709) · 4df33c83
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/icu build 20220523.1
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 7.0.0-preview.5.22269.3 -> To Version 7.0.0-preview.5.22273.1
      
      * Update dependencies from https://github.com/dotnet/xharness build 20220524.1
      
      Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
       From Version 1.0.0-prerelease.22270.1 -> To Version 1.0.0-prerelease.22274.1
      
      * Update dependencies from https://github.com/dotnet/runtime-assets build 20220523.1
      
      Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.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 7.0.0-beta.22267.1 -> To Version 7.0.0-beta.22273.1
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220524.2
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22252.2 -> To Version 7.0.0-preview1.22274.2
      
      * Update dependencies from https://github.com/dotnet/msquic build 20220523.2
      
      System.Net.MsQuic.Transport
       From Version 7.0.0-alpha.1.22273.1 -> To Version 7.0.0-alpha.1.22273.2
      
      * Update dependencies from https://github.com/dotnet/icu build 20220525.2
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 7.0.0-preview.5.22269.3 -> To Version 7.0.0-preview.6.22275.2
      
      * Update dependencies from https://github.com/dotnet/emsdk build 20220525.2
      
      Microsoft.NET.Workload.Emscripten.Manifest-7.0.100
       From Version 7.0.0-preview.5.22268.1 -> To Version 7.0.0-preview.6.22275.2
      
      * Update dependencies from https://github.com/dotnet/xharness build 20220526.1
      
      Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
       From Version 1.0.0-prerelease.22270.1 -> To Version 1.0.0-prerelease.22276.1
      
      * Update dependencies from https://github.com/dotnet/emsdk build 20220525.3
      
      Microsoft.NET.Workload.Emscripten.Manifest-7.0.100
       From Version 7.0.0-preview.5.22268.1 -> To Version 7.0.0-preview.6.22275.3
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220527.2
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22252.2 -> To Version 7.0.0-preview1.22277.2
      
      * Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20220529.1
      
      optimization.linux-x64.MIBC.Runtime , optimization.windows_nt-x64.MIBC.Runtime , optimization.windows_nt-x86.MIBC.Runtime , optimization.PGO.CoreCLR
       From Version 1.0.0-prerelease.22217.3 -> To Version 1.0.0-prerelease.22279.1
      
      * Update dependencies from https://github.com/dotnet/runtime build 20220529.1
      
      Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json
       From Version 7.0.0-preview.5.22272.3 -> To Version 7.0.0-preview.6.22279.1
      
      * Update dependencies from https://github.com/dotnet/icu build 20220530.1
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 7.0.0-preview.5.22269.3 -> To Version 7.0.0-preview.6.22280.1
      
      * Update dependencies from https://github.com/dotnet/icu build 20220530.2
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 7.0.0-preview.5.22269.3 -> To Version 7.0.0-preview.6.22280.2
      
      * Update dependencies from https://github.com/dotnet/xharness build 20220530.1
      
      Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
       From Version 1.0.0-prerelease.22270.1 -> To Version 1.0.0-prerelease.22280.1
      
      * Add manual marshalling for non-blittable delegates defined in System.Drawing.Common (which has the DisableRuntimeMarshallingAttribute applied) passed to P/Invokes.
      
      * Update dependencies from https://github.com/dotnet/xharness build 20220601.1
      
      Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
       From Version 1.0.0-prerelease.22270.1 -> To Version 1.0.0-prerelease.22301.1
      
      * Update dependencies from https://github.com/dotnet/runtime-assets build 20220531.1
      
      Microsoft.DotNet.CilStrip.Sources , System.ComponentModel.TypeConverter.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 7.0.0-beta.22267.1 -> To Version 7.0.0-beta.22281.1
      
      * Update dependencies from https://github.com/dotnet/emsdk build 20220531.1
      
      Microsoft.NET.Workload.Emscripten.Manifest-7.0.100
       From Version 7.0.0-preview.5.22268.1 -> To Version 7.0.0-preview.6.22281.1
      
      * Update dependencies from https://github.com/dotnet/msquic build 20220531.1
      
      System.Net.MsQuic.Transport
       From Version 7.0.0-alpha.1.22273.1 -> To Version 7.0.0-alpha.1.22281.1
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220601.1
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22252.2 -> To Version 7.0.0-preview1.22301.1
      
      * Update dependencies from https://github.com/dotnet/msquic build 20220601.1
      
      System.Net.MsQuic.Transport
       From Version 7.0.0-alpha.1.22273.1 -> To Version 7.0.0-alpha.1.22301.1
      
      * Move OleDB to use more manual marshalling instead of delegate marshalling.
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220602.1
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22252.2 -> To Version 7.0.0-preview1.22302.1
      
      * Update dependencies from https://github.com/dotnet/runtime build 20220605.4
      
      Microsoft.NET.Sdk.IL , Microsoft.NETCore.App.Runtime.win-x64 , Microsoft.NETCore.DotNetHost , Microsoft.NETCore.DotNetHostPolicy , Microsoft.NETCore.ILAsm , runtime.native.System.IO.Ports , System.Text.Json
       From Version 7.0.0-preview.5.22272.3 -> To Version 7.0.0-preview.6.22305.4
      
      * Update dependencies from https://github.com/dotnet/xharness build 20220605.1
      
      Microsoft.DotNet.XHarness.CLI , Microsoft.DotNet.XHarness.TestRunners.Common , Microsoft.DotNet.XHarness.TestRunners.Xunit
       From Version 1.0.0-prerelease.22270.1 -> To Version 1.0.0-prerelease.22305.1
      
      * Update dependencies from https://github.com/dotnet/icu build 20220606.1
      
      Microsoft.NETCore.Runtime.ICU.Transport
       From Version 7.0.0-preview.5.22269.3 -> To Version 7.0.0-preview.6.22306.1
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      Co-authored-by: NLarry Ewing <lewing@microsoft.com>
      Co-authored-by: NJeremy Koritzinsky <jekoritz@microsoft.com>
      4df33c83
    • J
      Stop normalizing managed calls in R2R (#70339) · c6a4b620
      Jakob Botsch Nielsen 提交于
      We no longer need to interop with JIT64 so clean up this TODO. We are in
      fact already relying on the normalization done by the callee since we
      allow tailcalling that skips the inserted normalization in R2R.
      c6a4b620
    • T
      Add support for processing Unified TLS frames (#69848) · eea8673f
      Tomas Weinfurt 提交于
      * initial drop
      
      * cleanup
      eea8673f
    • I
      [wasm][debugger] Implement support for null-conditional operators in simple expressions (#69307) · 2c110b62
      Ilona Tomkowicz 提交于
      * Basic testcase.
      
      * Fixed non-null access to proxy-hidden members.
      
      * Fixing the issue and adding more tests.
      
      * Fixed a failing test: let CompileAndRunTheExpression throw.
      
      * Blocked failing tests on firefox.
      
      * Applied @radical's suggestions.
      
      * Reverted indexing to fix tests.
      
      * Reverted LastOrDefault instead of indexing + corrected names.
      
      * Changed to throw when root name empty.
      
      * Removing null suppression that does not change the evaluation result but fails without this change.
      
      * Applied @radical's comments.
      
      * Change exception on string property evaluation.
      
      * Added @radical's suggestions.
      Co-authored-by: NAnkit Jain <radical@gmail.com>
      2c110b62
    • S
      Implement Equals/GetHashCode for UnixDomainSocketEndPoint (#69722) · fc8ce9b3
      SRV 提交于
      * Added impl of Equals/GetHashCode for UnixDomainSocketEP
      
      * Fixed typo
      
      * Fixed missing underscore
      
      * Clarify new fields using comments
      
      * Review feedback
      
      * Review feedback
      
      * Added platform verification
      
      * Fixed sporadic test failure due to hashcode collision
      fc8ce9b3
    • D
      Disable 2 FSW tests failing only on macOS 12 (#70365) · 5678b79f
      Dan Moseley 提交于
      * Disable 2 osx fsw tests
      
      * Use ConditionalTheory
      Co-authored-by: NJozkee <dacantu@microsoft.com>
      5678b79f
    • A
      JIT: enable cloning based on loop invariant type tests (#70377) · 86efc101
      Andy Ayers 提交于
      Such as those added by GDV.
      
      The JIT will now clone just for type tests, or just for array bounds, or for
      a mixture of the two. The JIT will still produce just one fast and one slow loop.
      If there are a mixture of array bounds and type test conditions, all conditions
      must pass for control to reach the fast loop.
      
      Unlike array bounds checks, type test failures are not intrinsically rare,
      so there is some profitability screening to ensure that a failed type test does
      not force execution to run the slow version "too often". The type test must
      execute frequently within the loop, and be heavily biased towards success.
      
      This is work towards resolving #65206.
      86efc101
    • T
      [wasm] [debugger] Removing usage of serilog (#70382) · 12a6db44
      Thays Grazia 提交于
      * [wasm] [debugger] Adding serilog dlls
      
      Adding serilog dlls
      
      * Removing serilog usage for Blazor.
      12a6db44
    • A
      JIT: add ability to order blocks in dump by bbNum or bbID (#70399) · 655f414c
      Andy Ayers 提交于
      By default the JIT will dump blocks in bbNext order. This adds
      other ordering options, specified by `JitDumpFgBlockOrder`:
      * `0 (default) bbNext`
      * `1 bbNum`
      * `2 bbID`
      
      `bbID` in particular is useful when comparing JIT dumps where blocks
      have been reordered but the blocks themselves have similar content.
      655f414c
    • S
      Tweak NonBacktracking condition used to employ RegexFindOptimizations (#70405) · 77a8d88c
      Stephen Toub 提交于
      Rather than excluding all anchors, only exclude beginning anchors.
      77a8d88c