- 25 1月, 2020 1 次提交
-
-
由 Tomas 提交于
-
- 24 1月, 2020 4 次提交
-
-
由 Tomas 提交于
-
由 Tomas 提交于
-
由 Tomas 提交于
-
由 Tomas 提交于
I have audited all entries in the intrinsics table and I added the [Intrinsic] annotation to all applicable methods. I haven't found <code>System.EETypePtr.EETypePtrOf</code> and <code>System.Activator.DefaultConstructorOf</code> anywhere. I have reverted the additional check for IsInternalCall that I put in CorInfoImpl in the 1st commit. Thanks Tomas
-
- 23 1月, 2020 24 次提交
-
-
由 Tomas 提交于
This change fixes unintentional differences in the treatment of intrinsics in Crossgen2 compared to Crossgen1 I found while investigating failures in the regression test b426654. While the change by itself doesn't fully fix the test, I believe it to be generally useful towards removing the remaining codegen differences between the compilers. Thanks Tomas
-
由 Maher Jendoubi 提交于
-
由 Andrew Au 提交于
-
由 David Wrighton 提交于
- Our CompilationModule groups used for single method compilation and general compilation had diverged substantially, reducing the effectiveness of single method compilation substantially - The profiler guided optimization logic also needs to use the VersionWithCode logic to identify which methods are interesting to consider, this will happen in a future change - The VersionsWith logic in CompilationModuleGroup did not correctly model versionable logic. - Methods with generic parameters were not handled correctly. Method generic parameters did not contribute to the VersionsWith logic. - The newer ideas in our recent work on upcoming enhancements to crossgen2 driven compilation enhancements are aligned with this effort - Add support for the concept of considering instantiations over primitive types to be legal even if the primitive types aren't part of the version bubble. (Only if there are no constraints in the generic) - Also a bonus determinism fix. In cases where MemberRef's were being used in combination with ENCODE_FIELD_SIG_OwnerType, we could possibly emit multiple different choices for the token emitting in a signature.
-
由 Jeremy Koritzinsky 提交于
Change HostPolicyMock to use CharSet.Auto now that it correctly switches to Ansi (aka Utf8) on non-Windows. (#2031)
-
由 Jeremy Koritzinsky 提交于
* Don't block non-blittable pointer types in P/Invokes. Don't block non-blittable pointer types in P/Invokes. If you're using pointers in interop you're already using unsafe code so we're going to assume you know what you're doing. C# won't let you form a pointer to a reference, so there's no risk of passing an object reference directly to native unless you're writing IL directly. Fixes dotnet/coreclr#27800 * Delete unused resources. * Apply fix to managed type system as well. * Add positive test for nonblittable pointers. Remove negative tests that were in GenericTest.
-
由 Steve MacLean 提交于
* Rename PAL_CMAKE_* CLR_CMAKE_* Remove separatation between CLR_CMAKE and PAL_CMAKE defines Revise PAL_CMAKE_PLATFORM* defines to use CLR_CMAKE_HOST* defines Revise other PAL_CMAKE_* defines to use CLR_CMAKE_* equivalents. Remove redundant compiler configuration
-
由 Leandro A. F. Pereira 提交于
host: Allow comments in JSON files
-
由 Jan Vorlicek 提交于
The Configurations.props file was modified to have $(NetCoreAppCurrent)-Linux and $(NetCoreAppCurrent)-OSX instead of $(NetCoreAppCurrent)-Unix in a recent PR #427, but the Configurations in the System.Net.Quic.csproj were not updated accordingly.
-
由 Marco Rossignoli 提交于
* add RunImpersonateAsync overloads * skip on full framework * run test netcoreapp only * skip tests on nanoserver * address PR feedback * address PR feedback * address PR feedback * address PR feedback * Update WindowsIdentity.cs update comment * Update WindowsIdentity.cs update comment * Update WindowsIdentity.cs Fix comment * Update WindowsIdentity.cs fix comment * Fix comment
-
由 Marek Safar 提交于
configure.ac: remove AC_SEARCH_LIBS for libintl
-
由 Adeel Mujahid 提交于
-
由 Jan Kotas 提交于
Same type can be loaded by multiple threads in parallel in rare situations Fixes #1847
-
由 dotnet-maestro[bot] 提交于
* Update dependencies from https://github.com/dotnet/arcade build 20200115.5 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.20065.5 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.20065.5 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.20065.5 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20065.5 - Microsoft.DotNet.Build.Tasks.Configuration - 5.0.0-beta.20065.5 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.20065.5 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.20065.5 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.20065.5 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.20065.5 - Microsoft.DotNet.GenAPI - 5.0.0-beta.20065.5 - Microsoft.DotNet.GenFacades - 5.0.0-beta.20065.5 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20065.5 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20065.5 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.20065.5 * Update dependencies from https://github.com/dotnet/arcade build 20200116.1 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.20066.1 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.20066.1 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.20066.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20066.1 - Microsoft.DotNet.Build.Tasks.Configuration - 5.0.0-beta.20066.1 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.20066.1 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.20066.1 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.20066.1 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.20066.1 - Microsoft.DotNet.GenAPI - 5.0.0-beta.20066.1 - Microsoft.DotNet.GenFacades - 5.0.0-beta.20066.1 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20066.1 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20066.1 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.20066.1 * Update dependencies from https://github.com/microsoft/vstest build 20200116-01 - Microsoft.NET.Test.Sdk - 16.5.0-preview-20200116-01 * Update dependencies from https://github.com/dotnet/arcade build 20200117.2 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.20067.2 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.20067.2 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.20067.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20067.2 - Microsoft.DotNet.Build.Tasks.Configuration - 5.0.0-beta.20067.2 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.20067.2 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.20067.2 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.20067.2 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.20067.2 - Microsoft.DotNet.GenAPI - 5.0.0-beta.20067.2 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.20067.2 - Microsoft.DotNet.GenFacades - 5.0.0-beta.20067.2 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20067.2 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20067.2 * Update dependencies from https://github.com/dotnet/arcade build 20200118.1 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.20068.1 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.20068.1 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.20068.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20068.1 - Microsoft.DotNet.Build.Tasks.Configuration - 5.0.0-beta.20068.1 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.20068.1 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.20068.1 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.20068.1 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.20068.1 - Microsoft.DotNet.GenAPI - 5.0.0-beta.20068.1 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.20068.1 - Microsoft.DotNet.GenFacades - 5.0.0-beta.20068.1 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20068.1 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20068.1 * Update dependencies from https://github.com/microsoft/vstest build 20200120-01 - Microsoft.NET.Test.Sdk - 16.5.0-preview-20200120-01 * Update dependencies from https://github.com/dotnet/arcade build 20200121.3 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.20071.3 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.20071.3 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.20071.3 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20071.3 - Microsoft.DotNet.Build.Tasks.Configuration - 5.0.0-beta.20071.3 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.20071.3 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.20071.3 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.20071.3 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.20071.3 - Microsoft.DotNet.GenAPI - 5.0.0-beta.20071.3 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.20071.3 - Microsoft.DotNet.GenFacades - 5.0.0-beta.20071.3 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.20071.3 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.20071.3
-
由 Stephen Toub 提交于
We go out of our way (e.g. on Unix queueing work off of the epoll threads) to ensure that arbitrary user code running as part of socket continuations doesn't block those threads and potentially deadlock. Add a test to help validate this.
-
由 Bruce Forstall 提交于
This leads us to generate an illegal relocation fixup. Fixes #1789
-
由 Leandro Pereira 提交于
Although JSON doesn't support comments, a common extension is to enable JavaScript-style comments. By default, RapidJSON will error out if comments are found in the input data, but it can be configured to ignore them. This is useful especially when testing out changes in runtimeconfig.json files. Fixes http://github.com/dotnet/core-setup/5661
-
由 Stephen Toub 提交于
* Avoid extra field loads / comparisons in FindFirstChar If we've already compared the current pos to the end pos as part of a minimum length check, we don't need to repeat it again later. We can also read from locals rather than fields more than we are to save redundant field reads. * Reduce branches in Boyer-Moore negative switch table It's often the case that lots of negative branches have the same value. We can coalesce them. * Address PR feedback
-
由 Kevin Jones 提交于
* Validate key on HMAC classes. A refactoring in HMACCommon caused null keys to be implicitly converted in to empty spans. This lead to a null key being used as an empty key. * Use assertion helper to test parameter name.
-
由 monojenkins 提交于
This causes an additional dependency of mono on libintl which we didn't have before. Reported by a user on gitter, it's problematic on macOS since it makes the mono binary depend on the libintl we ship in the Mono .pkg. It was introduced in Mono 6.6 by https://github.com/mono/mono/commit/18e0ebfe89be0a175d2f904b9bb1ec6816daa318
-
由 Alexander Köplinger 提交于
* Enable Mono in default build * Integrate Mono into the build system * Fix System.Private.CoreLib build in Mono Broken by https://github.com/dotnet/runtime/commit/9c82a36c23235c4d50954cb33a4d5d89b787a1aa * Disable Windows test runs Fails due to https://github.com/dotnet/runtime/issues/1933Co-authored-by: NViktor Hofer <viktor.hofer@microsoft.com>
-
由 Vladimir Sadov 提交于
* Exposed casting cache to managed code * Implemented a managed version of cache lookup * Moved `JIT_IsInstanceOfAny` and `JIT_ChkCastAny` to managed code as the first ones to move. * Skip managed JIT helpers in exception stack traces and debugger * Managed `JIT_IsInstanceOfInterface` * All other cast helpers are managed. Fixes:https://github.com/dotnet/coreclr/issues/27931
-
由 Stephen Toub 提交于
And add tests.
-
由 Jeremy Barton 提交于
Largely, the intent of this change was to reduce the number of temporary readers required for deeply structured payloads (`ReadSequence` returns a new reader), while still maintaining the better usability of the class; and, frankly, to understand what the impact of splitting functionality into "bare metal" and "more usable" pieces was. ``` foreach (file in AsnReader.*) { Copy/paste the entirety of the `partial class AsnReader`; Change the top version to say ref partial struct AsnValueReader; Replace all AsnReader calls in the top version to say AsnValueReader. Replace all ReadOnlyMemory in the top portion with ReadOnlySpan; Remove ArraySegment overloads from the top portion (when present); Rewrite the bottom portion to open a ref reader at the state the memory is tracking and defer work into the ref reader; Run all the existing tests to ensure that nothing broke in that piece; } ``` Once that was done, I changed the asn.xslt to generate all of the decoding in terms of AsnValueReader. This didn't change field generation from ReadOnlyMemory to ReadOnlySpan (and the types from struct to ref struct)--a change that could be done later--but instead added a new ReadOnlyMemory input parameter so it can use Overlaps to slice the memory as appropriate (with a fallback of ToArray()). While I was editing asn.xslt I fixed probably all of the whitespace errors it generated. I still left the "stylecop, have no opinion about whitespace" pragma since the generator isn't run as part of most people's (or the official) builds. This also turns on the nullability checks in all of the generated structs.
-
- 22 1月, 2020 11 次提交
-
-
由 Bruce Forstall 提交于
* Add additional error checking for mainv1, mainv2 tests These have been silently failing due to mainv1.exe and mainv2.exe changing to be built at mainv1.dll and mainv2.dll without corresponding changes in the project files, due to insufficient testing in the script. Add this additional testing. * Add more error checking * Fix script errors in mainv1, mainv2 tests A while back, tests were changed from building .exe to building .dll files but these were not updated. Fix that.
-
由 Carol Eidt 提交于
* Reconcile handling of EH vars Modify `BasicBlock::hasEHBoundaryIn()` and `BasicBlock::hasEHBoundaryOut()` to reflect what liveness is doing, and adjust the register allocator code appropriately. It might make sense to extract the code that's basically the same, except that the register allocator doesn't need the `finallyVars` except as validation in the `DEBUG` case. Fix #1786
-
由 Swift Kim 提交于
-
由 Roman Marusyk 提交于
-
由 Marek Safar 提交于
* Add readme for Mono specific version of SPC * Update src/mono/netcore/System.Private.CoreLib/README.md Co-Authored-By: NStephen Toub <stoub@microsoft.com>
-
由 Michal Strehovský 提交于
It doesn't seem like we validate anything for those and `IsRuntimeDeterminedSubtype` check is rather expensive.
-
由 Levi Broderick 提交于
Not perf-critical, just some cleanup of low hanging fruit.
-
由 Jan Kotas 提交于
- Unify more of CoreLib interop files - Replace manual interop with regular managed APIs where possible - Delete unused code Contributes to #1232
-
由 Erhan Atesoglu 提交于
* FinalCoreFXRenames The last of the CoreFX renames. * Update DirectorySearcher.cs Fixed typo in DirectorySearcher.cs * Update TestClasses.SimpleTestClassWithObjectArrays.cs This fixes the expected value of the tests to runtime, instead of corefx. * Update PersistedFiles.Names.Unix.cs Adds a note to not update the corefx reference.
-
由 Anton Lapounov 提交于
-
由 Davis Goodin 提交于
-