Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-25[interp] Enable more interp tests (#19012)Vlad Brezae
2020-02-20[interp] Fix incorrect propagation of indirect local (#18924)Vlad Brezae
We never don't track the value of locals who have their address taken in a method, since their value can change without the pass detecting it, leading to propagation of incorrect values. We failed to check for this when doing a stloc.np optimization. Fixes System.Reflection.Metadata.Tests.ImmutableByteArrayInteropTest.DangerousCreateFromUnderlyingArray Enable more interp tests, which don't seem to fail on my machine.
2020-02-18[interp] Unwrap RuntimeWrappedException if needed, when throwing non ↵Vlad Brezae
exception objects (#18905) Enable the entire System.Linq.Expressions suite with interpreter
2020-02-18[netcore] Disable a flaky test on interpreter (#18904)Alexander Köplinger
See https://github.com/mono/mono/issues/18695, it's most likely fixed in dotnet/runtime already but we can't easily get updated binaries into mono/mono.
2020-02-03[tests] Reenable enum equals test on interpreter (#18673)Vlad Brezae
Fixed by https://github.com/mono/mono/commit/9ea350ed3c963c77f0f4f77ec590cc3c84773424
2020-01-17[netcore] Mark InitializeCurrentThread NoInlining (#18493)Aleksey Kliger (λgeek)
Follow-up for https://github.com/mono/mono/pull/18480 We might want to replace calls to this with an intrinsic
2020-01-17[runtime] NOHANDLES for ves_icall_System_Threading_Thread_GetCurrentThread ↵Aleksey Kliger (λgeek)
(#18480) * [runtime] NOHANDLES for ves_icall_System_Threading_Thread_GetCurrentThread This function (and its call to mono_handle_new) was showing up in the flamegraph for some async-heavy benchmarks
2020-01-15[netcore] Implement Thread.GetCurrentProcessorId (#18450)Ryan Lucia
CoreCLR has a managed cache surrounding this, but for the moment the naive implementation will suffice. We can later move their managed cache to shared on top of this PR with minimal trouble. We can't guarantee the id will be [0..CpuCount) for a variety of reasons, and a followup PR to the dotnet docs will clarify this. I've chosen not to intentionally add an offset, but no one should be relying on that behavior, and if someone thinks adding an offset would drive the point home the perf cost is irrelevant.
2020-01-13[netcore] Require use of MonoClass getters in Debug builds (#18267)Aleksey Kliger (λgeek)
1. Update `build.sh` to use `--enable-checked-build=private_types` which forces the use of getter methods to access `MonoClass` fields. 2. Fix up some places that were accessing MonoClass directly. 3. Get rid of a spurious comma operator usage from an earlier refactoring: ```c z = a, b, c; ``` is the same as ```c z = a; b; c; ``` which is the same as just `z = a;` if `b` and `c` have no side-effects.
2020-01-13[netcore] Make ↵Maxim Lipnin
System.Diagnostics.TraceSourceTests.DefaultTraceListenerClassTests.EntryAssemblyName_Null_NotIncludedInTrace Pass (#18403) * [netcore] Extract Assembly.GetEntryAssembly method to shared part
2020-01-13[netcore][llvm] Implement Sse1-4.2 subsets used by corlib (#18103)Egor Bogatov
* Implement SSE41 subset used by corlib * Implement Sse2.MoveMask * only works with llvm * Implement Sse3 and Ssse3 subsets used by corlib * Implement a few SSE1 methods * Address feedback, also, implement Sse.Add/Subtract * Fix build * Implement Sse.Multiply, Sse.Store * Implement Sse.CompareNotEquals * Implement Sse.MoveScalar * Finish SSE1 corlib subset * Implement Sse.LoadVector128, Sse.Shuffle * Sse.Shuffle cleanup * Implement Sse2 APIs * More of SSE2: LoadAlignedVector128, Compare* * Implement Sse2.Unpack* and Sse2.StoreScalar * Implement Sse2.PackUnsignedSaturate * Implement Sse2.ShiftRightLogical * Implement Sse2.Shuffle * Implement Vector128<T>.Zero * Fix CreateScalarUnsafe * Implement Vector128.As*, Fix Vector128.CreateScalarUnsafe * Fix failures * Fix failures * Fix Sse.MoveMask * remove redundant null checks * Fix AOT failures * fix compilation warrning * rename create_vector_mask_* * Fix failures found via tests * Index in Sse41.Insert has to be a constant * add local tests for mono * Update tests (cleanup) * Code cleanup * test * fix typo * Clean up * Clean up * Implement And, AndNot, Or, Xor, Divide for Sse1 * Cleanup * Fix build * limit emit_vector128 with LLVM * enable IsSupported for corlib * Fix build on wasm (if-defs issue) * Don't intrinsify Vector256 * Address feedback
2020-01-09[netcore][xunit tests] Re-enable ↵Maxim Lipnin
System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_ExecuteOrder (#18397) #14903
2020-01-09[interp] Throw overflow exception when converting NaN (#18384)Vlad Brezae
Fixes https://github.com/mono/mono/issues/18061
2020-01-09[reflection] Fix check for Type.FullName to match CoreCLR (#18385)Ryan Lucia
Updated test to follow in dotnet/runtime
2020-01-07[netcore] Remap String ctors to the String:Ctor () methods. (#18357)Zoltan Varga
2020-01-07More disambiguation of Python in makefiles (#18284)Calvin Buckley
2020-01-07Set thread pool thread name just based on string pointer check. (#16637)Jay Krell
* Set thread pool thread name just based on string pointer check. When the generation-based solution went in, there were not yet constant thread names, so a pointer based approach could fail due to reuse. We can do slightly simpler now. * Remove the generation field which is no longer needed. Remove the duplicated knowledge of how to set a constant and put it behind a funny sounding but perhaps reasonable flag. Revise corlib version.
2020-01-07[System.Private.CoreLib] Cleanup intrinsic tracking (#17884)Marek Safar
* [System.Private.CoreLib] Cleanup intrinsic tracking 1. Removed icalls where intrinsic version for the method exists 2. Add [Intrinsic] attribute to methods which have runtime intrinsic to make them easier to track and to tell linker not to analyze them 3. Use recursive syntax for any intrinsic which can be called via reflection to correctly apply the intrinsic when invoked. ```c# public static bool IsSupported { get => IsSupported; } ``` When one calls X86.IsSupported, the call gets replaced by an intrinsics. When one calls it with an Invoke, the body of IsSupported gets replaced by intrinsics. It's just a hack to get Invoke support for free. * [interp] implement System.Type::op_Equality * Undo changes which are not yet supported by interpreter * [interp] Implement System.Runtime.CompilerServices.RuntimeHelpers::OffsetToStringData Co-authored-by: Bernhard Urban-Forster <bernhard.urban@xamarin.com>
2020-01-06[netcore] Optimize RuntimeType::IsSZArray. (#18347)Zoltan Varga
2020-01-06[netcore] Mark SRE types with required=false so they are only retained when ↵Zoltan Varga
they are actually used.
2020-01-03[netcore] Add some linker exclusions.Zoltan Varga
2020-01-02Cleanup a few dependencies to reduce wasm bcl sizeMarek Safar
2020-01-02[loader] Add assembly name matching on netcore to fix DefaultContext test ↵Ryan Lucia
(#18272) * [loader] Rename assembly name check strictness flag * [loader] Add predicate for assembly name matching on netcore * [loader] Enable LoadInDefaultContext test * Make mono_assembly_names_equal external, change flags in domain search * Move ifdef inside mono_loader_get_strict_assembly_name_check * Fix pedump * No reason to make this external * Feedback
2020-01-02[reflection] Convert internal GetCustomAttributes calls to Attribute[] (#18176)Ryan Lucia
* [reflection] Avoid creating object[] in GetCustomAttributesBase * [reflection] Migrate Attribute type checking to CustomAttribute.cs
2019-12-21[loader] Check AppContext.BaseDirectory on netcore in preload hookRyan Lucia
2019-12-21[netcore] Re-enable some BinaryFormatter tests (#18277)Ryan Lucia
2019-12-17[netcore] Add AssemblyLoadContext:OnAssemblyLoad() to linker descriptor. ↵Zoltan Varga
(#18219)
2019-12-13[netcore] Implement AppDomain.AssemblyLoad (#18143)Ryan Lucia
2019-12-12[netcore] Implement AppDomain.TypeResolve (#18141)Ryan Lucia
2019-12-12[netcore] Enable AppDomainTests.AssemblyResolveInvalidAssemblyName (#18157)Ryan Lucia
I don't remember why this wasn't enabled originally, but it seems to be passing now. I probably accidentally fixed it back when I made changes to our assembly name parsing.
2019-12-12[netcore] Enable AppDomainTests.MonitoringIsEnabled (#18142)Ryan Lucia
2019-12-12[netcore] Remove MonoDomain.DoAssemblyResolve (#18139)Ryan Lucia
This is no longer called in netcore builds as of a while ago, so get rid of it and the corresponding linker exclusion.
2019-12-09[netcore] Enable more tests for interpreter and llvm on CI (#17957)Egor Bogatov
* Enable more tests * fix build? * forward XUNIT_MONO_ENV_OPTIONS * increase timeout * ignore some tests for interpreter * ignore more tests * move interp specific issues to a separate rsp * fix CI * fix CI * undo build.sh chmod * revert chmod for xunit-summary-py * improve xunit summary * Ignore the whole System.Net.Tests namespace * Ignore System.Text.Json * disable the whole BinaryFormatterTests * Disable System.Net.Http.Functional.Tests
2019-12-05Merge pull request #18053 from EgorBo/fix-fneg-llvmEgor Bogatov
LLVM: use fneg instead of fsub for `-x`
2019-12-05remove some items from rspEgorBo
2019-12-03Improve TryParseFunctionName in jitdiffEgorBo
2019-12-03Remove dead docsEgorBo
2019-11-29[netcore] Improve Jitdiff tool (#17960)Egor Bogatov
use `objdump` arguments to reduce verbosity (no raw bytes, etc) and make the dasm more diff-friendly. On Linux all functions have a random prefix (address) - replace it with `0xD1FFAB1E` constant). On macOS it's fine by default. Also, allow to generate diffs for a single assembly via `dump-asm-lib` rule.
2019-11-28Add quick diffEgorBo
2019-11-28Add jit-diff toolsEgorBo
2019-11-28Update netcore.Jay Krell
2019-11-23[netcore] Disable a test which fails on the interpreterAlexander Köplinger
The test is wrong, will be fixed upstream.
2019-11-22[wasm] Add aot+netcore support. (#17798)Zoltan Varga
* [wasm] Compile corelib as 32 bit. * [wasm] Add a netcore cross compiler. * [wasm] Add netcore+aot support. * [aot] Load the dedup module lazily instead of at startup. The previous version didn't work on netcore because it couldn't resolve references to corlib etc. since they were not yet registered in the root domain at the time of loading. * Add more icall trampoline signatures. * Add more netcore pinvokes. * Fix the build. * Add more icall trampoline signatures. * Add an --embed-file option to the packager. * Add more netcore pinvokes. * [interp] Return FALSE for IsDynamicCodeCompiled. * Add a netcore project and targets for running BenchmarkDotNet. * Fix pinvoke tables. * Add missing files. * Fix make clean. * Add a comment. * Revert "Fix pinvoke tables." This reverts commit 998065e77614b7e621d2873510aabc3930669ca9. * Make xunit-runner into a dotnet project. Add a netcore version.
2019-11-22[netcore] Run tests with Interpreter (#17862)Egor Bogatov
* Run tests with interp and llvm * fix build * Run tests with llvm * Add a few tests to rsp for LLVM
2019-11-21Stop referencing files from Mono BCL in Netcore System.Private.CoreLib (#17866)Jo Shields
2019-11-19[master] Update dependencies from dotnet/arcade dotnet/core-setup ↵dotnet-maestro[bot]
dotnet/corefx (#17690) * Update dependencies from https://github.com/dotnet/arcade build 20191102.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19552.1 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19552.1 * Update dependencies from https://github.com/dotnet/core-setup build 20191104.1 - Microsoft.NETCore.App - 5.0.0-alpha.1.19554.1 * Update dependencies from https://github.com/dotnet/corefx build 20191103.8 - Microsoft.Private.CoreFx.NETCoreApp - 5.0.0-alpha.1.19553.8 * Update dependencies from https://github.com/dotnet/arcade build 20191108.11 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19558.11 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19558.11 * Update dependencies from https://github.com/dotnet/core-setup build 20191109.5 - Microsoft.NETCore.App - 5.0.0-alpha.1.19559.5 * Update dependencies from https://github.com/dotnet/corefx build 20191109.6 - Microsoft.Private.CoreFx.NETCoreApp - 5.0.0-alpha.1.19559.6 * Update dependencies from https://github.com/dotnet/arcade build 20191117.2 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19567.2 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19567.2 * Update dependencies from https://github.com/dotnet/core-setup build 20191114.1 - Microsoft.NETCore.App - 5.0.0-alpha.1.19564.1 * Update dependencies from https://github.com/dotnet/corefx build 20191113.6 - Microsoft.Private.CoreFx.NETCoreApp - 5.0.0-alpha.1.19563.6 * Use NETCoreApp version 5.0.0-alpha.1.19563.3 Later versions have an issue and the new dotnet/runtime assets aren't ready yet. * Disable failing tests * Fix merge error
2019-11-16Mirror changes from mono/runtime (#17803)Dotnet-GitSync-Bot
It looks like the mirror didn't fully quiesce prior to snapping coreclr/corefx for the runtime consolidation. As a result the libraries build is breaking. Signed-off-by: dotnet-bot <anirudhagnihotry098@gmail.com>
2019-11-15Fix build breaksJan Kotas
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2019-11-15Fix NetStandard issue in System.IO.FileSystem.AccessControl in 5.0 (#42546)Carlos Sanchez Lopez
Fix NetStandard issue in System.IO.FileSystem.AccessControl We built the fix incorrectly so that it would only apply for netcoreapp3.0 but customer needs it on netstandard2.0 (desktop + core). Customer impact is that they’ll see a PlatformNotSupported exception rather than the new API. Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
2019-11-15Fix StyleCop rule SA1129 ("Do not use default value type constructor") (#42531)Stephen Toub
Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>