- 17 6月, 2021 17 次提交
-
-
由 Vlad Brezae 提交于
* [interp] Fix comparisons between non runtime types We know that the result of object.GetType and ldftn + GetTypeFromHandle are runtime types and we track it on the compilation stack. If type equality operator is applied on two runtime types we use reference equality comparison, otherwise we use the managed implementation which uses Type.Equals. * [mini] Fix comparisons between non runtime types We know that the result of object.GetType and ldftn + GetTypeFromHandle are runtime types and we track it on the compilation stack. If type equality operator is applied on two runtime types we use reference equality comparison, otherwise we use the managed implementation which uses Type.Equals. * [interp] Resolve GetType on constrained valuetype to the actual type
-
由 Steve Dunn 提交于
-
由 Bruce Forstall 提交于
The variable live range output is unnecessarily verbose. Simplify it; clean it up; make it smaller; use standard dumpers. Example, before: ``` //////////////////////////////////////// //////////////////////////////////////// Variable Live Range History Dump for Block 2 IL Var Num 0: [rcx [ (G_M13669_IG02,ins#0,ofs#0), (G_M13669_IG03,ins#1,ofs#2) ]; rbp[16] (1 slot) [ (G_M13669_IG03,ins#1,ofs#2), NON_CLOSED_RANGE ]; ] IL Var Num 1: [rsi [ (G_M13669_IG03,ins#1,ofs#2), NON_CLOSED_RANGE ]; ] //////////////////////////////////////// //////////////////////////////////////// End Generating code for Block 2 ``` After: ``` Variable Live Range History Dump for BB02 V00 this: rcx [(G_M13669_IG02,ins#0,ofs#0), (G_M13669_IG03,ins#1,ofs#2)]; rbp[16] (1 slot) [(G_M13669_IG03,ins#1,ofs#2), ...] V01 loc0: rsi [(G_M13669_IG03,ins#1,ofs#2), ...] ``` And the end-of-dump output, before: ``` //////////////////////////////////////// //////////////////////////////////////// PRINTING VARIABLE LIVE RANGES: IL Var Num 0: [rsi [18 , B5 )rsi [100 , 13A )rsi [14D , 186 )rsi [196 , 1C5 )rsi [1E3 , 271 )rsi [280 , 285 )] IL Var Num 1: [rdi [18 , B9 )rdi [100 , 137 )rdi [14D , 184 )rdi [196 , 1C2 )rdi [1E3 , 271 )rdi [280 , 288 )] IL Var Num 2: [rbx [18 , CA )rbx [100 , 10D )rbx [14D , 15A )rbx [196 , 1C7 )rbx [1E3 , 271 )rbx [280 , 28B )] IL Var Num 3: [rbp [3A , F0 )rbp [100 , 141 )rbp [14D , 18C )rbp [196 , 1D6 )rbp [1E3 , 275 )] IL Var Num 4: [r14 [3E , EC )r14 [100 , 13D )r14 [14D , 188 )r14 [196 , 1D2 )r14 [1E3 , 271 )] IL Var Num 5: [rcx [22A , 263 )] //////////////////////////////////////// //////////////////////////////////////// ``` After: ``` VARIABLE LIVE RANGES: V00 arg0: rsi [18, B5); rsi [100, 13A); rsi [14D, 186); rsi [196, 1C5); rsi [1E3, 271); rsi [280, 285) V01 arg1: rdi [18, B9); rdi [100, 137); rdi [14D, 184); rdi [196, 1C2); rdi [1E3, 271); rdi [280, 288) V02 arg2: rbx [18, CA); rbx [100, 10D); rbx [14D, 15A); rbx [196, 1C7); rbx [1E3, 271); rbx [280, 28B) V03 loc0: rbp [3A, F0); rbp [100, 141); rbp [14D, 18C); rbp [196, 1D6); rbp [1E3, 275) V04 loc1: r14 [3E, EC); r14 [100, 13D); r14 [14D, 188); r14 [196, 1D2); r14 [1E3, 271) V05 loc2: rcx [22A, 263) ```
-
由 Bruce Forstall 提交于
csgen.1 also exists in src\tests\Regressions\coreclr\0582 simple1 also exists in src\tests\JIT\Directed\Arrays
-
由 Eric Erhardt 提交于
This code only runs on macOS, and expects mono's System.Windows.Forms assembly is loaded into the process. This is causing trim warnings, and it is easier just to delete this code than try to make ILLink happy. This code is only called from Graphics.FromHwnd, which doesn't work because the Carbon.framework no longer exists on macOS. Issue https://github.com/dotnet/runtime/issues/22221 is tracking the test failures that use FromHwnd.
-
由 Emmanuel André 提交于
* Improve cancellation in StreamPipeReader.ReadAtLeastAsync * Introduce task variable Co-authored-by: NStephen Toub <stoub@microsoft.com> * Fix tests * Expect TaskCanceledException on canceled token Co-authored-by: NStephen Toub <stoub@microsoft.com>
-
由 Jeremy Koritzinsky 提交于
Follow the same failure behavior for [ComImport] classes on Windows with built-in COM disabled as non-Windows. (#54298)
-
由 Alex Perovich 提交于
-
由 Fan Yang 提交于
* Fix memory leak * Update src/mono/mono/mini/mini-generic-sharing.c Co-authored-by: NAleksey Kliger (λgeek) <akliger@gmail.com> * Update src/mono/mono/mini/mini-generic-sharing.c Co-authored-by: NAleksey Kliger (λgeek) <akliger@gmail.com> * Fix the return Co-authored-by: NAleksey Kliger (λgeek) <akliger@gmail.com>
-
由 Jeremy Koritzinsky 提交于
-
由 Ankit Jain 提交于
* [wasm][aot][tests] Enable libraries that have been consistently passing .. on the tracking PR. - `System.Linq.Tests` Fixes https://github.com/dotnet/runtime/issues/51722 - `System.Runtime.Extensions.Tests` - `System.IO.Pipelines.Tests` - the failing tests have been disabled * [wasm][aot][tests] Disable more tests that depend on stacktraces .. in System.Runtime.Tests . The library is still disabled for AOT, because it hasn't been stable only for the last 7 days. * Re-enable System.Runtime.Loader.Tests which is passing now.
-
由 Ankit Jain 提交于
-
由 Miha Zupan 提交于
-
由 Bill Wert 提交于
-
由 Stephen Toub 提交于
Read returning the number of bytes requested is not guaranteed.
-
由 Kevin Jones 提交于
Also dispose of AES usages to match behavior of the .NET Framework.
-
由 Ankit Jain 提交于
``` [22:22:31] fail: [FAIL] System.Tests.EnvironmentStackTrace.StackTraceDoesNotStartWithInternalFrame [22:22:31] info: System.NullReferenceException : Object reference not set to an instance of an object. [22:22:31] info: at System.Reflection.RuntimeMethodInfo.Invoke(Object , BindingFlags , Binder , Object[] , CultureInfo ) ``` Issue: https://github.com/dotnet/runtime/issues/51676
-
- 16 6月, 2021 23 次提交
-
-
由 GitHubPang 提交于
-
由 Fan Yang 提交于
-
由 Jo Shields 提交于
Previously, stripping of all produced libraries (libmono-component-*) was based on the file type of libmonosgen. That would fail to do stripping in the corner case of producing a static libmonosgen but dynamic components. This eliminates that problem.
-
由 Zoltan Varga 提交于
* [mono][wasm] Fix the usage of function pointers in mixed mode. The llvm compiled code expects function pointers to be a MonoFtnDesc*, while the interpreter expects them to be a InterpMethod*. Use a MonoFtnDesc in both cases. * Reenable some tests. * Add caching.
-
由 Aleksey Kliger (λgeek) 提交于
It knows how to try various combinations of prefixes and suffixes on various platforms. In particular it knows to look for .dylib files on Apple platforms. Fixes iOS simulator component search
-
由 Manish Godse 提交于
-
由 Anirudh Agnihotry 提交于
-
由 Maryam Ariyan 提交于
-
由 Martin Costello 提交于
Give the output file for the M.E.Logging logging classes a ".g" suffix so that it is treated as a generated file to prevent it being flagged by source analyzers for violations the application developer cannot fix for themselves.
-
由 Stephen Toub 提交于
* Add HashCode.Add(ReadOnlySpan<byte>) * Address PR feedback
-
由 Eric Erhardt 提交于
* Add API to find MethodInfo on instantiated generic type from generic type definition Fix #45771 * Rename to GetMemberWithSameMetadataDefinitionAs * Fix a bug for NestedType * Use new method libraries that were working around not having it * Implement GetMemberWithSameMetadataDefinitionAs in mono * Revert JavaScript Runtime changes. * Support inheritance in GetMemberWithSameMetadataDefinitionAs.
-
由 Sergey Andreenko 提交于
-
由 Steve Pfister 提交于
This change fixes a crash when running below API Level 24 due to SNIHostName and SSLParameters.setServerNames not being available. We will now throw a PlatformNotSupportedException to make things a little more apparent. Fixes #54182
-
由 Katelyn Gadd 提交于
This PR refactors all C# -> JS string decoding to go through a single path that maintains an intern table
-
由 Trivalik 提交于
resolves https://github.com/dotnet/runtime/issues/51222Co-authored-by: NTrivalik <rborchert@live.de>
-
由 Katelyn Gadd 提交于
Unboxing datetime instances is currently broken in some cases due to an incorrect method signature
-
由 Ankit Jain 提交于
Co-authored-by: NRadek Doulik <radekdoulik@gmail.com>
-
由 Theodore Tsirpanis 提交于
-
由 Adam Sitnik 提交于
Co-authored-by: NStephen Toub <stoub@microsoft.com>
-
由 Aleksey Kliger (λgeek) 提交于
Don't return null target methods in GetInterfaceMap for abstract classes, or classes using DIMs (#53972) * Add DIM tests for GetInterfaceMap Regression tests for https://github.com/dotnet/runtime/issues/53933 * Return null target methods from GetInterfaceMap in fewer cases If the iterface method is reabstracted, and either the found implementation method is abstract, or the found implementation method is from another DIM (meaning neither klass nor any of its ancestor classes implemented the method), then say the target method is null. Otherwise return the found implementation method, even if it is abstract, unless we found a reabstracted method in a non-abstract class Fixes https://github.com/dotnet/runtime/issues/53933
-
由 David Mason 提交于
-
由 Larry Ewing 提交于
This moves the shared parts of the mono workload to a separate abstract workload to allow the VS packaging tooling to treat it as a component group.
-
由 Jan Vorlicek 提交于
* Fix PAL_JitWriteProtect export on Linux I have not realized that we actually export that symbol on Linux too and that mscordac then have the dummy function missing. * Code review feedback * Disable PAL_JitWriteEnable usage in DBI / DAC * Fix typo in amd64 version Co-authored-by: NMike McLaughlin <mikem@microsoft.com>
-