1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 09:34:49 +09:00
Commit graph

103617 commits

Author SHA1 Message Date
Stephen Toub
3359a27075
Update nullability.md with note about Try methods and [NotNullWhen(true)] (#35711) 2020-05-01 11:56:39 -04:00
Stephen Toub
e83f6db110
Change ManagedWebSocket to send pong frame for keep-alive (#35644) 2020-05-01 11:50:02 -04:00
Mitchell Hwang
9a29391a26
[eng] Fix condition on RunTestsCommand property (#35709)
Co-authored-by: Mitchell Hwang <mihw@microsoft.com>
2020-05-01 11:27:50 -04:00
Stephen Toub
3951901294
Remove FromAsync usage from TcpClient (#35512) 2020-05-01 11:07:43 -04:00
Egor Bogatov
683508940d
[mono] Pass category=failing and category=outerloop to Android and iOS (#35665) 2020-05-01 17:09:36 +03:00
nietras
d119c05139
IntroSort minor cleanup, remove unnecessary 'hi' (#35663)
* IntroSort minor cleanup, remove unnecessary 'hi'

* Apply suggestions from code review

Co-authored-by: nietras <nietras@users.noreply.github.com>

Co-authored-by: Stephen Toub <stoub@microsoft.com>
2020-05-01 09:30:46 -04:00
Mitchell Hwang
ac6fac8979
[libraries] Build lib-runtime-packs for all of mono, not just mobile (#35295)
* [libraries] Build lib-runtime-packs for all of mono, not just mobile

* [libraries] Build lib-runtime-packs for all of mono, not just mobile

* [libraries] Remove dotnet and unnecessary files from lib-runtime-packs

* [libraries] Reinclude dotnet and other files into test host

* [libraries] Alternative to excluding dotnet and other files from lib-runtime-packs

* Undo alternative changes for exclude dotnet and other files from lib-runtime-packs

This reverts commit 8cecd66db2024b4dd859212399fb69725c29fdf2.

* BinPlace native libs + runtime into testhost for desktop mono

* Removed comment

* [libraries] Remove redundant condition from ItemGroup in SetupRuntimePackNative

Co-authored-by: Mitchell Hwang <mihw@microsoft.com>
Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
2020-05-01 07:58:29 -04:00
monojenkins
a97e474834
[wasm] Integrate the m2n-gen.cs tool into mcs/tools/wasm-tuner. (#35660)
It should be ran as:
mono wasm-tuner.exe --gen-interp-to-native <output file name> <extra assemblies>.

The <extra assemblies> will be searched for pinvoke methods, and their signatures
will be added to the set of supported signatures.

<!--
Thank you for your Pull Request!

If you are new to contributing to Mono, please try to do your best at conforming to our coding guidelines http://www.mono-project.com/community/contributing/coding-guidelines/ but don't worry if you get something wrong. One of the project members will help you to get things landed.

Does your pull request fix any of the existing issues? Please use the following format: Fixes #issue-number
-->

Co-authored-by: vargaz <vargaz@users.noreply.github.com>
2020-05-01 04:21:12 -04:00
Egor Chesakov
a156293316
[Arm64] Implement ASIMD widening, narrowing, saturating intrinsics (#35612)
* AbsoluteDifferenceWideningLower and AbsoluteDifferenceWideningUpper

* AbsoluteDifferenceWideningLowerAndAdd and AbsoluteDifferenceWideningUpperAndAdd

* AddPairwiseWidening{Scalar}

* AddPairwiseWideningAndAdd{Scalar}

* AddSaturate{Scalar}

* AddWideningLower and AddWideningUpper

* FusedAddHalving

* FusedAddRoundedHalving

* FusedSubtractHalving

* MultiplyWideningLower and MultiplyWideningUpper

* MultiplyWideningLowerAndAdd and MultiplyWideningUpperAndAdd

* MultiplyWideningLowerAndSubtract and MultiplyWideningUpperAndSubtract

* SubtractSaturate{Scalar}

* SubtractWideningLower and SubtractWideningUpper

* AddReturningHighNarrowLower and AddReturningHighNarrowUpper

* AddReturningRoundedHighNarrowLower and AddReturningRoundedHighNarrowUpper

* SubtractReturningHighNarrowLower and SubtractReturningHighNarrowUpper

* SubtractReturningRoundedHighNarrowLower and SubtractReturningRoundedHighNarrowUpper
2020-04-30 19:47:01 -07:00
Eric Erhardt
c614097798
Strip the ILLinkTrim.xml file from System.Private.Xml (#35547)
* Strip the ILLinkTrim.xml file from System.Private.Xml

The two methods being preserved in System.Private.Xml (CreateSqlReader and GenerateSerializer) are large, and are not necessary when linking a mobile app. These methods only need to be preserved when linking the shared framework. When a normal app is linked, the linker is able to figure out if the two methods are necessary.

Contributes to #35199

Fix #30912

* Respond to PR feedback

- Add PreserveDependencyAttribute to SqlXml to be explicit.
- Rename ILLinkTrim.xml to ILLinkTrim_LibraryBuild.xml when it shouldn't be embedded in the resulting assembly.
2020-04-30 20:25:41 -05:00
Steve MacLean
6b2f3b5ef7
Cleanup src/coreclr/src/inc/src/metadata.h (#35621)
* Cleanup src/coreclr/src/inc/src/metadata.h

Remove #include of private implementation headers
Fix build breaks

* Remove stray #undef __unaligned
2020-04-30 20:18:34 -04:00
Egor Chesakov
670bf2109a
[Arm64] Implement Vector64/128.CreateScalar() using AdvSimd.Insert (#35300) 2020-04-30 16:35:36 -07:00
dotnet-maestro[bot]
2ae694d329
[master] Update dependencies from dotnet/arcade Microsoft/vstest dotnet/xharness (#35662)
* Update dependencies from https://github.com/dotnet/arcade build 20200428.4

- Microsoft.DotNet.XUnitExtensions: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.VersionTools.Tasks: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.ApiCompat: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.Arcade.Sdk: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.Build.Tasks.Feed: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.Build.Tasks.Packaging: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.Build.Tasks.TargetFramework.Sdk: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.CodeAnalysis: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.XUnitConsoleRunner: 2.5.1-beta.20224.11 -> 2.5.1-beta.20228.4
- Microsoft.DotNet.GenAPI: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.Helix.Sdk: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.RemoteExecutor: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4
- Microsoft.DotNet.GenFacades: 5.0.0-beta.20224.11 -> 5.0.0-beta.20228.4

* Update dependencies from https://github.com/microsoft/vstest build 20200429-01

- Microsoft.NET.Test.Sdk: 16.7.0-preview-20200428-01 -> 16.7.0-preview-20200429-01

* Update dependencies from https://github.com/dotnet/xharness build 20200430.1

- Microsoft.DotNet.XHarness.Tests.Runners: 1.0.0-prerelease.20229.6 -> 1.0.0-prerelease.20230.1

* Update dependencies from https://github.com/dotnet/xharness build 20200430.2

- Microsoft.DotNet.XHarness.Tests.Runners: 1.0.0-prerelease.20229.6 -> 1.0.0-prerelease.20230.2

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2020-04-30 17:20:03 -04:00
Levi Broderick
1f4393df55
Implement TranscodingStream (#35145)
This is a streaming analog to the one-shot Encoding.Convert method.
2020-04-30 13:50:48 -07:00
Steve MacLean
58017ba71a
Feedback from 3.1 amd64InstrDecode review (#35670)
* Feedback from 3.1 amd64InstrDecode review

* More feedback and cleanup

* One more
2020-04-30 16:35:49 -04:00
Steve MacLean
2f4ae5d5fe
Remove unused library definition (#35668) 2020-04-30 20:09:21 +00:00
Tomas Weinfurt
543037dfcf
improve resiliency of process tests (#35584)
* impove resiliency of process tests

* feedback from review

* dispose process

Co-authored-by: Tomas Weinfurt <furt@Shining.local>
2020-04-30 12:16:33 -07:00
Clinton Ingram
6ed9f1b4f5
disable LZCNT in crossgen (#35598)
Now that BitOperations.TrailingZeroCount has a fallback to BSR, the cost of querying Lzcnt.IsSupported before using LZCNT is higher than simply using the fallback. This is a situation very specific to LZCNT because it's most often a one-and-done instruction and the fallback is only very marginally slower.

Note that this change applies only to crossgen, as the hardware intrinsic model differs for crossgen2 and it was decided that this change isn't appropriate for that different model.
2020-04-30 10:24:54 -07:00
David Wrighton
71f84aa8d7
Don't notify crossgen2 about Vector<T> size when not needed (#34614)
- Stop notifying  about usage status of AVX2 when using isSubRegisterSIMDType
- This allows use of the Vector2/3/4 simd types in crossgen'd code without fixing whether or not Avx2 is required
2020-04-30 10:17:12 -07:00
Tamar Christina
aa81328f4e
Add VectorTableList and TableVectorExtension intrinsics (#35600) 2020-04-30 10:02:03 -07:00
Eric Erhardt
0764d8c117
Set charset in editorconfig for .csproj (#35634)
* Add editorconfig charset for csproj files.

This stops VS from inserting a BOM in these files.

* Removing BOM from .csproj files.
2020-04-30 09:54:26 -05:00
Nathan Ricci
c494334c6d
Run runtime tests with mono on test change. (#35604)
Adding tests or modifyig build-test.sh will run runtime tests on mono (in addition to coreclr).
2020-04-30 10:50:58 -04:00
dotnet-maestro[bot]
509330e52f
Update dependencies from https://github.com/dotnet/xharness build 20200429.6 (#35659) 2020-04-30 14:22:02 +02:00
monojenkins
ecdd68bed0
Disable a few executables if DISABLE_EXECUTABLES is defined. (#35653) 2020-04-30 14:19:27 +02:00
Tomáš Rylek
bad3861cd4
Add new unit test demonstrating a JIT crash in Crossgen2 build mode (#35623) 2020-04-30 12:53:30 +02:00
Egor Bogatov
ef2ea8a6a2
Integrate Android into /t:Test (#35640)
Integrate Android into the "Test" workflow, e.g.:
```
./build.sh -os Android -arch arm64 -subset Mono+Libs

cd src/libraries/System.Buffers/tests

dotnet build /p:TargetOS=Android /p:TargetArchitecture=arm64 /t:Test
```
^ should run tests for any test suite on an active device or emulator.
2020-04-30 11:44:50 +02:00
dotnet-maestro[bot]
430c3d51dd
[master] Update dependencies from 5 repositories (#35567) 2020-04-30 10:40:47 +02:00
Sergey Andreenko
c4b7aeaff2
Disable two failing tests. (#35652) 2020-04-30 00:37:26 -07:00
Eugene Rozenfeld
4becc75851
Fix compFastTailCalls check. (#35596)
compFastTailCalls is true if COMPlus_FastTailCalls is not 0.
It was introduced in #341 to help with testing:
setting COMPlus_FastTailCalls to 0 forces all tail-prefixed
calls to be dispatched via helpers.

This fixes a subtle bug with checking compFastTailCalls:
it needs to be checked after `fgInitargInfo` has been called in
`fgCanFastTailCall`. `fgInitArgInfo` adds the stub address for VSD calls
and `fgMorphTailCallViaHelpers` then removes it.

This change also factors out the logic for checking whether the call
has byref parameters that must be copied by the caller.
2020-04-30 00:22:19 -07:00
Simon Nattress
a5b5974686
Baseline profiler/rejit/rejit/rejit.cmd (#35641)
Related issue: https://github.com/dotnet/runtime/issues/35639
2020-04-30 08:53:34 +02:00
Steve MacLean
2de6dd9566
Remove problematic #undef _ASSERTE (#35630) 2020-04-29 23:20:37 -04:00
Egor Chesakov
1f436e029e
Remove HW_Flag_UnfixedSIMDSize (#35594)
* Remove HW_Flag_UnfixedSIMDSize usages in hwintrinsiclistarm64.h

* Remove HW_Flag_UnfixedSIMDSize usages in hwintrinsiclistxarch.h

* Remove HW_Flag_UnfixedSIMDSize and HWIntrinsicInfo::HasFixedSimdSize() in hwintrinsic.cpp hwintrinsic.h

* Change HWIntrinsicInfo::simdSize type to int and remove all the casts in hwintrinsic.cpp hwintrinsic.h
2020-04-29 19:40:29 -07:00
Steve MacLean
636f96f9d1
Revert "Remove obsolete managedOsxBuild et. al (#35356)" (#35647)
This reverts commit 5b9fe8f29f.
2020-04-29 22:28:17 -04:00
Steve MacLean
5b9fe8f29f
Remove obsolete managedOsxBuild et. al (#35356)
* Remove obsolete managedOsxBuild et. al

Remove managedOsxBuild
Remove managedTestBuildOsGroup
Remove managedTestBuildOsSubgroup
2020-04-29 21:43:36 -04:00
Stephen Toub
b643b6b0d8
Delete DataContractSerializer's ILLinkTrim.xml file (#35520)
The whole assembly isn't being trimmed:
```
    <!-- Too much private reflection. Do not bother with trimming -->
    <ILLinkTrimAssembly>false</ILLinkTrimAssembly>
```

(On top of that, the set_Option that's being kept here is only set via reflection by test code that's not actually built today; it's guarded behind a compilation constant that's not set.)
2020-04-29 21:25:08 -04:00
Jeremy Barton
0b32ef51dd
Update link from corefx to runtime (#35633) 2020-04-29 21:23:33 -04:00
Tomas Weinfurt
ac544ffe30
handle UnauthorizedAccessException from mmap on OSX (#35619)
* handle UnauthorizedAccessException on OSX

* update SkipTestException text

* add comments

Co-authored-by: Tomas Weinfurt <furt@Shining.local>
2020-04-29 21:23:19 -04:00
mrj001
3735efbdb2
Invalid derivation of fixed fractionDigits (#34973)
* Added code to throw XmlSchemaException if the derived type attempts to alter the fixed value of fractionDigits from the base type.
2020-04-29 16:13:46 -07:00
Tomáš Rylek
5d5c36bb9e
Add OS loader relocation type statistics to Crossgen2 map file (#35587) 2020-04-29 23:18:28 +02:00
David Wrighton
68af9c383f
Fix NeedsAlignedBaseOffset for composite R2R (#35231)
- Syncronize and correct NeedsAlignedBaseOffset
  - Crossgen2 and the runtime had different models for when the base type size needed to be aligned up
  - This caused issues for composite crossgen2 builds as the logic was heavily module focussed
  - Also, the IsInSameVersionBubble logic was non-functional for composite build

The new algorithm is similar to the old normal R2R rule, with the extension that alignment isn't required in the case of a type which has layout dependent on multiple modules if all of the modules involved are part of the same compilation. (Thus composite compilation is slightly more optimized).

The other rule which must be enforced to allow for inputbubble compilation is that all assemblies depended on by an input bubble compilation must be R2R compiled.

- Add testing for many different variations of compiling the tests with
crossgen, crossgen2, and crossgen2 with input bubble enabled/disable and various composite compilation arrangements.

- Fix R2RDump for composite images
- Fix R2RDump for various fixup types
2020-04-29 13:13:47 -07:00
Ganbarukamo41
a8ef87348a
Implement Vector{Size}<T>.AllBitsSet (#33924) 2020-04-29 12:32:49 -07:00
Miha Zupan
00c99a7258
Simple formatting cleanup over Uri (#31874)
* Simple formatting cleanup over Uri

* More Uri test cleanup

* Address pr feedback
2020-04-29 21:19:30 +02:00
Jan Kotas
cc8070c63e
Check if PortableThreadPoolEventSource is enabled before logging (#8117) (#35608)
Co-authored-by: Ben Adams <thundercat@illyriad.co.uk>
2020-04-29 11:48:38 -07:00
Miha Zupan
b4b2c4653a
Optimize Uri.GetHashCode (#32713)
* Optimize Uri.GetHashCode

* Don't use case-insensitive string hashing when not necessary

* Don't expect Uri.GetHashCode to always be case-insensitive in tests

* Correct Uri.Equals test

Hash codes being equal doesn't mean that the values are equal

* Do not cache Uri GetHashCode

* Simplify Uri.Equals test
2020-04-29 19:50:15 +02:00
Egor Bogatov
0fa0b905f6
[mono] Add Android sample and AndroidAppBuilder task (#35483) 2020-04-29 19:34:29 +03:00
Jose Perez Rodriguez
11c2e4c3b8
Fixing break on OOB System.IO.Ports package where native dependency was no longer produced (#35591) 2020-04-29 09:26:56 -07:00
Carol Eidt
ee3ee42fb2
Don't create duplicate ZeroInits (#35585) 2020-04-29 09:17:57 -07:00
Tomáš Rylek
846d7a4473
Further tuning of the CORE_ROOT folder content (#35546)
Based on Sergey's feedback I'm putting back the alternate JITs
(linuxonjit, protononjit) as they are actively used by the JIT team
in specialized scenarios. I have also pruned the PDB subfolder -
after extensive discussions I tried to be conservative in removing
only those PDB's we believe we don't need in Helix.

Thanks

Tomas
2020-04-29 17:04:03 +02:00
Layomi Akinrinade
cc62091c58
Improve code coverage on collections with stream-based flows (#35046)
* Improve code coverage on collections with stream-based flows

* Address feedback & fortify tests
2020-04-29 07:46:47 -07:00
Tomas Weinfurt
49ecdbd24c
improve cmake version detection (#35593) 2020-04-29 06:18:09 -07:00