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

104830 commits

Author SHA1 Message Date
Viktor Hofer
69fca9234b
Fix solution restore in libraries (#38294)
Fixes https://github.com/dotnet/runtime/issues/37358
2020-06-23 22:35:40 +02:00
Zoltan Varga
178176b5bf
[wasm] Make some libc stubs return an error instead of asserting. (#38256)
Fixes https://github.com/dotnet/runtime/issues/38164.
2020-06-23 22:27:58 +02:00
John Salem
4046b5e4ad
[Test] temporarily disable the reverse eventpipe test (#38293)
#38156 tracks work for solution
2020-06-23 13:20:08 -07:00
Eriawan Kusumawardhono
9de1a7e044
Add attributes to System.Drawing.Printing.PrintDocument (#35162)
* add DefaultPropertyAttribute and DefaultEventAttribute to PrintDocument class and add references to System.ComponentModel.TypeConverter

* add the DefaultPropertyAttribute and DefaultEventAttribute to PrintDocument in the ref

Add DefaultEventAttribute and DefaultPropertyAttribute to PrintDocument in PrintDoument.Unix.cs
2020-06-23 13:15:49 -07:00
Elinor Fung
a18403f2e5
Remove RCWAuxiliaryData (#38255)
* Remove RCWAuxiliaryData

* Remove unused functions
2020-06-23 12:59:28 -07:00
Eugene Rozenfeld
81ed1f7313
Propagate basic block flags after a failed inline. (#38243)
This is a fllow-up to #37335 and #37840.

When an inline fails we replace `GT_RET_EXPR`with the
original `GT_CALL` node. `GT_RET_EXPR`may end up in
a basic block other than the original `GT_CALL` so we need
to propagate basic block flags.

Fixes #36588.
2020-06-23 12:41:47 -07:00
Rikki Gibson
2322fe301e
Annotate Microsoft.CSharp (#38237)
* Annotate Microsoft.CSharp

* Remove unnecessary NoWarn property
2020-06-23 15:25:57 -04:00
Andy Ayers
0256379c8f
JIT: allow some aggressive inlines to go over budget (#38163)
If we have a very small root method that calls a large method that is marked with
AggressiveInlining, we may fail to inline because of a budget check.

Allow such inlines to bypass the check.

Closes #38106.
2020-06-23 11:55:35 -07:00
Elinor Fung
0e9f4ceae2
Binder tracing test: only track loads that tests are interested in (#38251) 2020-06-23 11:49:40 -07:00
Alexander Köplinger
3bb8637180
WASM: Ensure we rerun autogen.sh and configure with emconfigure set (#38289)
When the `configure` file is touched the autotools build will rerun it without the `emconfigure` wrapper like we do in mono.proj.
This means instead of emscripten's `ar` or `ranlib` we're getting the system tools instead, causing compilation errors like:

```
libmono-icall-table.a: archive is missing an index; Use emar when creating libraries to ensure an index is created
```

Fix this by adding a dependency on configure as well so we rerun the whole autogen.sh process.
2020-06-23 20:45:18 +02:00
Layomi Akinrinade
f86385a1a4
Add trimming tests for System.Private.Xml.Linq changes (#38091)
* Add trimming tests for System.Private.Xml.Linq changes

* Address review feedback
2020-06-23 11:05:45 -07:00
Carlos Sanchez Lopez
a21d63d1f2
Bring back IO.AccessControl ref assemblies & expose 5.0 ref assemblies (#38252) 2020-06-23 10:55:08 -07:00
Anirudh Agnihotry
bc89d3ac6b
set flags in master (#38273) 2020-06-23 10:42:35 -07:00
Jeremy Barton
10abe8d9b7
Add IncrementalHash.GetCurrentHash 2020-06-23 10:28:26 -07:00
Brian Sullivan
1241a74757
Enable Matrix3x2Tests.cs (#38168)
* Enable Matrix3x2Tests.cs

* Also enable Matrix3x2CreateScaleCenterTest1 and Matrix3x2CreateScaleCenterTest3
2020-06-23 10:04:08 -07:00
Elinor Fung
34643831b7
Fix link to corehost build requirements on Windows (#38253) 2020-06-23 09:34:33 -07:00
Anirudh Agnihotry
9907151841
Add Netcoreapp ridless config to System.Private.Uri And System.Private.Xml (#38142)
* remove unnecessary cross compilation

* remove extra <

* correct pinvoke path

* use ridless for unix os

* remove extra warn
2020-06-23 09:33:21 -07:00
Aaron Robinson
69037c9f32
Fix clrjit exports on non-Windows platforms. (#38254) 2020-06-23 08:55:34 -07:00
Mitchell Hwang
140eb26730
[libraries] Add IsThreadingSupported for System.Threading.Timer test failures (#38232)
Co-authored-by: Mitchell Hwang <mitchell.hwang@microsoft.com>
2020-06-23 11:10:48 -04:00
Anton Lapounov
0e413699d9
Remove test exclusions for ARM64 (#38258)
Corresponding issues have been fixed.
2020-06-23 07:55:32 -07:00
Anirudh Agnihotry
5378dd8ecf
Update branding to Preview8 (#38247)
* update branding to review 8

* set reset flag to false
2020-06-23 07:39:47 -07:00
Maxim Lipnin
c91e1040ec
Disable System.Reflection.Emit.Tests.ILGeneratorEmit4 test suite on WASM (#38266) 2020-06-23 10:03:35 -04:00
Swaroop Sridhar
a755e742ca
Fix a Race in Installer Test Infrastructure (#38143)
* Re-enable Apphost.Bundle.Tests.BundleRename test

* Remove StaticHostApp

StaticHostTest used the StaticHostApp (which is effectively a copy of StandaloneApp) as a work-around for synchronization problems.
Remove this work-around.

* Synchronize GetNewTestArtifactPath()

Add locking around GetNewTestArtifactPath() so that multiple threads attempting to create new copies of a TextFixture don't collide and work on the same path.
2020-06-23 10:14:50 +00:00
Tautvydas Žilys
e84507a402
Fix jumping to middle of an instruction on macOS. (#38242) 2020-06-23 11:01:46 +02:00
Tomáš Rylek
f6e6eeed21
Disable a dozen more CG2 compDoOldStructRetyping assert failures (#38249)
Disable more tests failing on Windows ARM64 with the bug

https://github.com/dotnet/runtime/issues/37883

(compDoOldStructRetyping assertion failure in JIT). I think
this is currently the biggest known error bucket in CG2 composite
testing.

Thanks

Tomas
2020-06-23 10:11:58 +02:00
Tomáš Rylek
8d126438a5
Facelift the Crossgen2 outerloop pipeline (#38245)
(1) Switch most legs to use composite mode;

(2) Add ARM64 legs;

(3) Add a single non-composite leg;

(4) Reduce the frequency to 3 times a week in view of the increased
level of testing.

Thanks

Tomas
2020-06-23 10:08:24 +02:00
Simon Nattress
6ecf7b0f98
Baseline Crossgen2 Pri 1 test failures (#38261)
Example recent run:
https://dev.azure.com/dnceng/public/_build/results?buildId=698082&view=results
2020-06-23 10:07:29 +02:00
Drew Scoggins
7c2e2e777f
Update perf proj from arcade (#38127)
* Update perf proj from arcade

* Add timeout for pr and internal jobs

* Change to a variable that is set

* Escape variable with single quotes

* Change timeout from days to minutes

* Fix typo

* Change to default
2020-06-22 23:11:34 -07:00
Edward Kazuya Carlson
ff016317ed
Changing RAX to none for consistency (#38250)
In runtime/src/coreclr/src/jit/unwindamd64.cpp line 516
frame register is printed as none if it is RAX,
made the change in extensions.cs to reflect this.:
2020-06-22 23:07:22 -07:00
Andy Ayers
d6b8109177
Mitigation for a GC Stress race after an inline pinvoke (#38246)
In the post-call part of a pinvoke inline call frame, it's not safe
to start a stress mode GC in the window between checking
`g_TrapReturningThreads` and the call to `CORINFO_HELP_STOP_FOR_GC`.

The call instruction is already getting special treatement, but there may
be other instructions between the check and call. Instead of trying
to pattern match them all, suppress GC stress if `g_TrapReturningThreads`
is true, the thread is in cooperative mode, and there's an active inline
call frame.

Closes #37236.
2020-06-22 20:51:14 -07:00
Simon Nattress
3052acc56d
Port type system tests from CoreRT repo (#38128)
Port the managed type system unit tests and wire them up to build.cmd -test so they run if the clr.tools subset is included in compilation.

Port enough USG layout and `Array<T>` support so we can keep their respective tests running in this repo.
2020-06-22 20:34:44 -07:00
Brian Sullivan
18b143c8c4
Fix Assertion failed 'rhs != UninitVal()' (#38227)
* Fix Assertion failed 'rhs != UninitVal()' #35413

Issue was a preHeader blocks was inserted and the compacted with the previous block
and we had a null value for bbReach during compaction.

* Re-enable test b539509
2020-06-22 19:46:49 -07:00
Aaron Robinson
d5045f96df
Update UnmanagedCallersOnlyAttribute API surface (#37843)
* Update UnmanagedCallersOnlyAttribute API surface

* Update comments and block unknown calling convention types for
UnmanagedCallersOnlyAttribute.

* UnmanagedCallersOnlyAttribute should not be inheritable.
2020-06-22 18:49:57 -07:00
Carlos Sanchez Lopez
80a7935c3a
Bring back System.IO.Pipes.AccessControl package and make it available in .NET 5.0 (#38177)
* Bring back System.IO.Pipes.AccessControl package and make it available in .NET 5.0.

* address suggestions

* fix test error

* Microsoft.Windows.Compatibility.pkgproj
2020-06-22 17:16:28 -07:00
Larry Ewing
92153e9308
Merge pull request #38234 from lewing/no-sharing
[wasm]Don't assume SharedArrayBuffer exists.
2020-06-22 18:21:35 -05:00
Tomáš Rylek
54625f3775
Disable the most prevalent CG2 ARM64 test failure bucket (#38204)
These nine tests fail with the JIT assertion failure
'!comp->compDoOldStructRetyping()'. I'm not 100% sure whether this
makes the job green again as I see a somewhat different error in
the AdvSimd_Part3_r test so I'm reluctant to disable it with the
same bug before more investigation.

Thanks

Tomas
2020-06-22 23:27:27 +02:00
Sourabh Shirhatti
083f85b365
Enable Activity tracking on generic host (#37892)
* Enable Activity tracking on generic host

* Add test

* Remove trailing whitespace

* Bad merge

* React to W3C format change

* Remove conditional fact
2020-06-22 14:12:36 -07:00
Egor Chesakov
ab119ad18f
[Arm64] Vector64<double>.CreateScalar, Vector64<ulong>CreateScalar and Vector64<long>.CreateScalar (#38139) 2020-06-22 13:40:59 -07:00
Jan Vorlicek
8552b6d054
Fix PEFile::GetAssemblyLoadContext during early runtime stages (#38222)
* Fix PEFile::GetAssemblyLoadContext during early runtime stages

The PEFile::GetAssemblyLoadContext was asserting if it was called before
the m_pTPABinderContext was created in AppDomain::CreateBinderContext.
That turned out to be a problem for a check performed in
ReadyToRunInfo::Initialize.

This change calls AppDomain::CreateBinderContext from the
PEFile::SetupAssemblyLoadContext instead of calling
AppDomain::GetTPABinderContext. That ensures that the
PEFile::GetAssemblyLoadContext can always return valid
AssemblyLoadContext.
2020-06-22 22:34:45 +02:00
Larry Ewing
f6aada9377 Don't assume SharedArrayBuffer exists. 2020-06-22 15:33:53 -05:00
Eirik Tsarpalis
b21744168d
Move System.Formats.Cbor to standalone project and make public (#38087)
* move System.Formats.Cbor to standalone project

* address feedback

* address feedback

* Remove Directory.Build.props altogether
2020-06-22 20:50:54 +01:00
Andy Ayers
17d413f2ad
A couple of small OSR fixes (#38165)
* fix helper multithreading issue -- don't re-read flags that can change
* fix helper logging and abort on error
* change strategy for protecting original method entry block
  when doing an OSR compile. Instead of marking it don't remove, use
  artificial ref count boost.
2020-06-22 11:52:24 -07:00
Yoh Deadfall
dbcb819314
Devirtualized default value comparison (#37674)
* Devirtualized default value comparison

* Fixed double comparison for ref types

* Fixed serialization

* Addressed issues
2020-06-22 11:30:06 -07:00
Viktor Hofer
dd41a4aae9
Use ProjectReference to build against System.Private.CoreLib (#38196)
* Use ProjectReference to build against CoreLib
2020-06-22 19:53:00 +02:00
Larry Ewing
3495f1ae2d
[wasm][bindings] Clean up the static binding registration logic (#38175) 2020-06-22 17:44:39 +02:00
Zoltan Varga
7ff4ae402e
Add threadpool support for webassembly. (#38029) 2020-06-22 17:27:24 +02:00
Adeel Mujahid
dbc2d36be9
Enable mono cross-build on SunOS-like OS (#37560) 2020-06-22 09:42:25 -04:00
Gleb Balykov
846ff2522c
Fix non-portable build (#38095) 2020-06-22 05:28:33 -07:00
Michal Strehovský
4aacf930ec
Add more trimming annotations to Mono CoreLib (#38148)
I've also annotated CoreCLR's `Type.GetType` in the same spot as Mono. Mono's implementation was triggering warnings, which is what promted me to add it there, but we should annotate this nonetheless because absent intrinsic treatment in Linker, this would be unsafe.
2020-06-22 10:20:25 +02:00
monojenkins
1f4d0db233
[interp] Rework frame data storage (#38085)
This PR has 2 objectives. First it makes the interp stack allocated in a single contiguous area of memory. This will enable us to do fast pointer bumping when switching between frames and not have to worry about scattered memory fragments. Second, it makes the stack space used by a frame (locals + execution stack) a compile time constant. This could prove useful for future optimizations, because we can tell at compile time at which stack offset every instruction outputs its result. In order to achieve this, localloc memory has been kicked out of the normal stack space into its own allocator, which is almost identical to the old stack fragment allocator.

Co-authored-by: BrzVlad <BrzVlad@users.noreply.github.com>
2020-06-21 20:00:00 +03:00