- 10 6月, 2022 2 次提交
-
-
由 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
-
由 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.
-
- 09 6月, 2022 27 次提交
-
-
由 Stephen Toub 提交于
* Enable nullable for Microsoft.Bcl.AsyncInterfaces * Apply suggestions from code review Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com> Co-authored-by: NEric Erhardt <eric.erhardt@microsoft.com>
-
由 Ilona Tomkowicz 提交于
-
由 Radek Zikmund 提交于
-
由 Kevin Jones 提交于
-
由 Tomas Weinfurt 提交于
-
由 Zoltan Varga 提交于
Some of the calls go through the trampoline infrastructure, which cannot patch indirect calls made through GOT slots, causing crashes in the MONO_ARCH_CODE_EXEC_ONLY case.
-
由 Aaron Robinson 提交于
* Remove SAFEARRAY APIs from pal
-
由 Stephen Toub 提交于
-
由 Stephen Toub 提交于
-
由 Vladimir Sadov 提交于
* simple case works * FEATURE_SUSPEND_REDIRECTION * AVX support * refactor * no need for asm * ARM64 * stub `IsSafePoint` on Unix * revert unnecessary changes to RhpGcPoll2 * no copy of redirect context * Specialcase active frames in EnumGcRefs * remove bogus assert.
-
由 Carlos Sanchez 提交于
-
-
由 Egor Bogatov 提交于
-
-
由 Filip Navara 提交于
-
由 Huo Yaoyuan 提交于
* Guard FillVariant under FEATURE_COMINTEROP * Guard COM exception information under FEATURE_COMINTEROP * Remove TypeNameBuilder::ToString(BSTR) * Remove the whole EECOMException type when COM interop is disabled * Guard more ExceptionData usage under FEATURE_COMINTEROP * Guard BSTRHolder under FEATURE_COMINTEROP * Remove Unix BSTR simulation in palrt * Add guard to COMException::GetMessage
-
由 Stephen Toub 提交于
* Remove some unnecessary regex NonBacktracking code Move some debug-only code to #if DEBUG, remove other dead code, and clean up a few things that are unnecessary. Also add a few tests to fill out some code coverage results, and address some style-related comments from a recently merged PR. * Address PR feedback * Fix non-deterministic threading-related failures in regex tests If the wrong tests run concurrently, they can end up seeing a changed NFA safe limit from another test.
-
由 David Wrighton 提交于
* Increase precision and safety of the NonVersionableAttribute - NonVersionable now only unconditionally affects whether or not the IL is reported as inlined in the inlining data - Primitive types are now implicitly considered to be NonVersionable - Classes defined in CoreLib may now be considered to be NonVersionable - Classes now marked are String, RawData, and RawArrayData, which are all tied into intrinsics in crossgen2 - NFloat is now marked as NonVersionable so that some of its methods may actually be treated as NonVersionable - There is now an additional predicate that the IL within the NonVersionable method must satisfy a series of tests to ensure that it can safely be inlined without adding additional tokens for the logic to depend on. See below for the details of the predicate Collectively these changes make it so that even if we change our inlining rules, the NonVersionable marked methods will successfully pass through Crossgen, without generating requiring tokens from their original modules to be present in the final image. The rules are: // 1. ldfld, ldflda, and stfld to instance fields of NonVersionable structs and NonVersionable classes // 2. cpobj, initobj, ldobj, stobj, ldelem, ldelema or sizeof, to NonVersionable structures, signature variables, pointers, function pointers, byrefs, classes, or arrays // 3. stelem, to NonVersionable structures // In addition, the method must not have any EH. // The method may only have locals which are NonVersionable structures, or classes * Address code review feedback
-
由 Steve Pfister 提交于
This change adds two build-only lanes to `runtime` and two full build+test lanes to `runtime-wasm` that builds wasm with internal threads only (`WasmEnablePerfTracing`) and full threading (`WasmEnableThreads`). The `runtime-wasm` additions can only be manually triggered at this time. Co-authored-by: NAleksey Kliger (λgeek) <alklig@microsoft.com> Co-authored-by: NAnkit Jain <radical@gmail.com>
-
由 Kevin Jones 提交于
-
由 Aaron Robinson 提交于
* Convert incorrect assert for loading relative paths to native libraries * Reenable PMI running on InteropServices tests.
-
由 Jakob Botsch Nielsen 提交于
We can use type info from GT_RET_EXPR nodes when deciding whether we need to normalize on a return. Fix #70334 We could also consider typing these GT_RET_EXPR nodes with the actual type of the call, though I am unsure if we want to introduce more small-typed nodes.
-
由 Huo Yaoyuan 提交于
* Don't call RuntimeHelper.Equals in Object.Equals * Update src/libraries/System.Private.CoreLib/src/System/Object.cs Co-authored-by: NJan Kotas <jkotas@microsoft.com>
-
由 Jo Shields 提交于
Closes: #46461
-
由 SingleAccretion 提交于
* Delete a zero-diff quirk * Also update some comments Removing GT_INDEX/ADDR(IND) references.
-
由 Eric Erhardt 提交于
* Remove ActiveIssue on OSVersion_ValidVersion_OSX This test was fixed to work correctly on the latest macOS versions in https://github.com/dotnet/runtime/pull/64565. The test can now be re-enabled. Fix #49106 * Verify the Minor version as well, since it is no longer being verified by the RID.
-
由 kanadaj 提交于
* Mark IQueryable.DefaultIfEmpty() as nullable * Update CachedReflection.cs * Update the nullability in the reference source
-
- 08 6月, 2022 11 次提交
-
-
由 Tomas Weinfurt 提交于
* update dogfooding instruction for 7.0 * update example * Update docs/project/dogfooding.md Co-authored-by: NMartin Costello <martin@martincostello.com>
-
由 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>
-
由 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.
-
由 Tomas Weinfurt 提交于
* initial drop * cleanup
-
由 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>
-
由 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
-
由 Dan Moseley 提交于
* Disable 2 osx fsw tests * Use ConditionalTheory Co-authored-by: NJozkee <dacantu@microsoft.com>
-
由 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.
-
由 Thays Grazia 提交于
* [wasm] [debugger] Adding serilog dlls Adding serilog dlls * Removing serilog usage for Blazor.
-
由 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.
-
由 Stephen Toub 提交于
Rather than excluding all anchors, only exclude beginning anchors.
-