Filip Navara [Sat, 6 Apr 2019 09:26:55 +0000 (11:26 +0200)]
[netcore] Implement RuntimeImports.RhBulkMoveWithWriteBarrier (mono/mono#13840)
* [netcore] Implement RuntimeImports.RhBulkMoveWithWriteBarrier
* Add the actual write barrier to RhBulkMoveWithWriteBarrier
* Rename ves_icall_System_Runtime_RuntimeImports_Memmove_wbarrier to ves_icall_System_Runtime_RuntimeImports_RhBulkMoveWithWriteBarrier
Fixes 15 failures in System.Memory.Tests.
Commit migrated from https://github.com/mono/mono/commit/
f29dd7622c7bb7a4734d2cf4b20899d494364b57
Filip Navara [Sat, 6 Apr 2019 09:21:07 +0000 (11:21 +0200)]
[netcore] Fix Marshal.IsPinnable regression (mono/mono#13876)
Fix regression from https://github.com/mono/mono/pull/13807/files#diff-e881a4d9491559282e7ae2021f8ad3a4R54.
CoreCLR code for reference: https://github.com/dotnet/coreclr/blob/mono/mono@
2f4a7564beb6f8c1f4929504ee2221953d25fc39/src/vm/marshalnative.cpp#L276-L278
Fixes `System.Tests.StringTests.Ctor_CharPtr_DoesNotAccessInvalidPage` in `System.Runtime.Tests`.
My understanding is that IsPinnable should return `true` for:
- Any blittable type
- Any array of blittable types
- Any array of primitive types (covers bool[])
- String, Utf8String (handled separately in managed code in Mono)
It should not return `true` for:
- Primitive non-blittable type
- Value types that are not blittable (eg. contain pointers to other GC objects)
Commit migrated from https://github.com/mono/mono/commit/
d074481a29ed3fd0d797a1de4e8aae20c349effd
Bernhard Urban [Fri, 5 Apr 2019 20:05:56 +0000 (22:05 +0200)]
[AOT] remove confusing llcopts flag (mono/mono#13877)
[AOT] remove confusing llcopts flag
Introduced by
https://github.com/mono/mono/commit/mono/mono@
2eeaf888c1d0a681c8705bd609f76196d8fb82ed
Commit migrated from https://github.com/mono/mono/commit/
61100b24e09be5e9ed125d4ac0126ca52f8bcbc5
Jo Shields [Fri, 5 Apr 2019 19:50:57 +0000 (15:50 -0400)]
Merge pull request mono/mono#13866 from lambdageek/fix-no-gc-unsafe-dl-fallback-register
[mono-dl] Don't do thread state transitions in mono_dl_fallback_register
Commit migrated from https://github.com/mono/mono/commit/
0fc2363a4a2d9eac90033726af4e48a7f0dd6d06
Alexander Kyte [Fri, 5 Apr 2019 19:26:13 +0000 (15:26 -0400)]
[merp] Fix image size reported (mono/mono#13847)
* [merp] Point managed image_size at correct size field
* [merp] Bump merp version number
Fixes mono/mono#13834
Commit migrated from https://github.com/mono/mono/commit/
5f5c51f3ef40a91053b38cc4ef9673098bab2fe9
Alexander Kyte [Fri, 5 Apr 2019 19:25:09 +0000 (15:25 -0400)]
[llvm] Make GOT a typed struct (mono/mono#13803)
Commit migrated from https://github.com/mono/mono/commit/
715d33c46e6d6669fbdadcdf1203f59e5ad4e2f4
Vlad Brezae [Fri, 5 Apr 2019 19:10:16 +0000 (22:10 +0300)]
[interp] Add intrinsics for common object methods (mono/mono#13762)
GetHashCode is 2x faster while GetType is 10x faster.
Commit migrated from https://github.com/mono/mono/commit/
47a0ad469b3961f75890fcca5bf1b80cc7881f84
Zoltan Varga [Fri, 5 Apr 2019 18:48:00 +0000 (14:48 -0400)]
[netcore] Avoid loading the globalization native lib in invariant mode. (mono/mono#13853)
* [netcore] Avoid loading the globalization native lib in invariant mode.
* Fix a c++-ism.
Commit migrated from https://github.com/mono/mono/commit/
25157c4ccdbf94a7ade368031aed17e9673cba31
Filip Navara [Fri, 5 Apr 2019 11:16:45 +0000 (13:16 +0200)]
Remove -noappdomain and -noshadow too
Commit migrated from https://github.com/mono/mono/commit/
7bf675a760b671ab38bdb55ded9d75d3cb388d69
Filip Navara [Fri, 5 Apr 2019 09:54:59 +0000 (11:54 +0200)]
Keep the xunit parallelization setting at default value to allow 'Xunit.CollectionBehavior(DisableTestParallelization = true)' override
Commit migrated from https://github.com/mono/mono/commit/
b60ca5fb6b3e92b787e13df35824e9eb0e65cd81
Alexander Kyte [Fri, 5 Apr 2019 15:12:34 +0000 (11:12 -0400)]
[llvm] Give LLVM noalias info about alloc functions (mono/mono#13801)
From: https://llvm.org/docs/LangRef.html
```
Furthermore, the semantics of the noalias attribute on return values are stronger than the semantics of the attribute when used on function arguments. On function return values, the noalias attribute indicates that the function acts like a system memory allocation function, returning a pointer to allocated storage disjoint from the storage for any other object accessible to the caller.
```
Think this probably helps LLVM reorder the method calls, telling it that allocating won't return a pointer to something else on the stack.
Commit migrated from https://github.com/mono/mono/commit/
0cbdcd8e5aecbac86706f7d7859f2cdc2898ef01
Aleksey Kliger (λgeek) [Fri, 5 Apr 2019 15:01:24 +0000 (11:01 -0400)]
[metadata] Don't free_aggregate_modifiers in mono_metadata_free_type (mono/mono#13785)
The aggregate modifiers container is owned by a MonoImageSet. The aggregate
modifiers may be shared by more than one MonoType that happen to need the same
modifiers. (Similar to how generic instantiations are shared)
When the image set is cleaned up the aggregate modifier cleanup will free the
types in the aggregate modifiers container (the call to
free_aggregate_modifiers in mono_metadata_clean_for_image).
With this extra call to free_aggregate_modifiers in mono_metadata_free_type may
cause the same memory to be freed twice.
Fixes https://github.com/mono/mono/issues/13775
Commit migrated from https://github.com/mono/mono/commit/
c434294b24ea90a86d92c7bae658e927242ad9b0
Jay Krell [Fri, 5 Apr 2019 07:43:28 +0000 (00:43 -0700)]
Add MONO_PATCH_INFO_TRAMPOLINE_FUNC_ADDR and MONO_PATCH_INFO_SPECIFIC_TRAMPOLINE_LAZY_FETCH_ADDR. (mono/mono#13794)
* Add MONO_PATCH_INFO_LAZY_FETCH_ADDR and MONO_PATCH_INFO_TRAMP_ADDR.
These are int-based alternatives to MONO_PATCH_INFO_JIT_ICALL_ADDR + sprintf.
This clarifies work to remove the JIT icall hash tables that are used with:
MONO_PATCH_INFO_JIT_ICALL
MONO_PATCH_INFO_JIT_ICALL_ADDR
MONO_PATCH_INFO_JIT_ICALL_ADDR_NOCALL
making it easier to make those enum-based, indexing a fixed size dense array.
As a related side effect, that could be achieved otherwise,
this fixes apparent leaks.
And clarify MONO_PATCH_INFO_JIT_ICALL_ADDR_NOCALL slightly, by making
searches for it find one more hit.
That is, those three enums are mostly used with a fixed set of strings.
Except for as in this PR where they are used with indefinite strings.
The removal of the indefinite strings eases replacement of the fixed
set of strings with an enum.
* Bump MONO_AOT_FILE_VERSION.
* PR feedback: Remove unused code and historical commentary.
Also updated PR title with more verbose actual names of the new symbols:
`MONO_PATCH_INFO_TRAMPOLINE_FUNC_ADDR`
`MONO_PATCH_INFO_SPECIFIC_TRAMPOLINE_LAZY_FETCH_ADDR`
* Add missing break.
Commit migrated from https://github.com/mono/mono/commit/
36c5f3f3704c86ed67673afdfe74268e0337b1f0
Zoltan Varga [Fri, 5 Apr 2019 06:13:52 +0000 (02:13 -0400)]
[netcore] System.Runtime.InteropServices test fixes. (mono/mono#13807)
* [netcore] Fix Marshal test failures.
* [netcore] Add exclusions for System.Runtime.InteropServices.Tests.
* [netcore] Make an icall internal.
* Add more test exclusions.
* Address review comments.
Commit migrated from https://github.com/mono/mono/commit/
3344bd64c894d20fd13c4b81c4f7e01bc2a62795
Zoltan Varga [Fri, 5 Apr 2019 06:13:34 +0000 (02:13 -0400)]
[interp] Add more netcore intrinsics. (mono/mono#13849)
* [interp] Add more netcore intrinsics.
* Address review comments.
* Fix a warning.
Commit migrated from https://github.com/mono/mono/commit/
22e2cd87a727188b04bb43c8b73f8edb6531e3e9
Alexander Köplinger [Thu, 4 Apr 2019 23:04:12 +0000 (01:04 +0200)]
Fix .vscode/c_cpp_properties.json
Commit migrated from https://github.com/mono/mono/commit/
7030a95c84a5a971b3bc6361de27c4c9c055c23b
Aleksey Kliger [Thu, 4 Apr 2019 22:09:41 +0000 (18:09 -0400)]
[mono-dl] Don't do thread state transitions in mono_dl_fallback_register
1. it doesn't touch the managed runtime
2. it may be called (arguably it ought to be called only) before the runtime is
initialized (and in particular before the current thread is attached).
Commit migrated from https://github.com/mono/mono/commit/
275d1f5d16ae23d8edb071ea82f1893226889aa8
Vlad Brezae [Thu, 4 Apr 2019 20:19:50 +0000 (23:19 +0300)]
[interp] Fix GetFunctionPointer (mono/mono#13708)
This method returns a function pointer that can be called with a calli instruction. On interpreter we use a pointer to InterpMethod while on jit we use the native code address. Normally, GetFunctionPointer should return the InterpMethod pointer if called from interp or the native code address if called from jit. Since we don't have any information about the execution engine of the caller, we solve this by intrinsifying all these calls, that happen in the interpreter.
Passing such function pointers between jitted and interp code is probably still unreliable.
Fixes https://github.com/mono/mono/issues/13654
Commit migrated from https://github.com/mono/mono/commit/
474305cbce2eaba12186d61583ab358bc5957abe
Jo Shields [Thu, 4 Apr 2019 20:14:54 +0000 (16:14 -0400)]
Merge pull request mono/mono#13858 from kg/disable-llvmjit-on-ci
Disable llvmjit in the packaging test ci lane so we can turn the lane back on
Commit migrated from https://github.com/mono/mono/commit/
4b46c5fca4c5c7dc2754150179d3b76e2fb93643
Thays Grazia [Thu, 4 Apr 2019 18:38:21 +0000 (15:38 -0300)]
[DIM] Do not order implemented interfaces (mono/mono#13721)
This test https://github.com/dotnet/coreclr/blob/mono/mono@
1649da12db73c8c07513c9168cb30ec70c310063/tests/src/Regressions/coreclr/20452/twopassvariance.il
On mono we were ordering the list of implemented interfaces and shouldn't do this as it's described on ECMA-335 Section II.12.2.1 and II.12.2.2.
The ordering was removed on ilasm and some changes were needed on metadata either because it's not ordered anymore.
There were two bugs, one on ilasm and other on class initialization on mono.
### ILAsm ###
If we get the .exe generated by .net Framework it doesn't execute on mono without modifications because we ordered the implemented interfaces list by id. And doing that the order defined on source code is ignored.
If we get the .exe generated by Mono it doesn't execute on .net Framework because on IlAsm we order the list and loose the order defined on source code.
The interfaces on metadata before these changes on IlAsm were like this:
```
1: Fooer1 implements class IFoo<class Derived>
2: Fooer1 implements class IFoo<class Base>
3: Fooer2 implements class IFoo<class Base>
4: Fooer2 implements class IFoo<class Derived>
5: Fooer3 implements class IFoo<object>
6: Fooer3 implements class IBar<class Derived>
7: Fooer3 implements class IBaz<class Base>
8: IBar implements class IFoo<!0>
9: IBaz implements class IFoo<!0>
10: Fooer4 implements IQux
11: Fooer4 implements class IBar<class Derived>
12: IQux implements class IFoo<class Base>
13: IQux implements class IFoo<class Derived>
14: Fooer5 implements IQux
15: Fooer5 implements class IBar<class Derived>
16: Fooer6 implements class IBar<class Base>
17: Fooer6 implements class IFoo<class Base>
18: Fooer7 implements class IFoo<class Base>
19: Fooer7 implements class IBar<class Base>
```
And After the changes they follow the definition order which is the same order of IlAsm for .net framework and .net core.
```
1: IBar implements class IFoo<!0>
2: IBaz implements class IFoo<!0>
3: IQux implements class IFoo<class Base>
4: IQux implements class IFoo<class Derived>
5: Fooer1 implements class IFoo<class Base>
6: Fooer1 implements class IFoo<class Derived>
7: Fooer2 implements class IFoo<class Derived>
8: Fooer2 implements class IFoo<class Base>
9: Fooer3 implements class IBaz<class Base>
10: Fooer3 implements class IBar<class Derived>
11: Fooer3 implements class IFoo<object>
12: Fooer4 implements IQux
13: Fooer4 implements class IBar<class Derived>
14: Fooer5 implements class IBar<class Derived>
15: Fooer5 implements IQux
16: Fooer6 implements class IFoo<class Base>
17: Fooer6 implements class IBar<class Base>
18: Fooer7 implements class IBar<class Base>
19: Fooer7 implements class IFoo<class Base>
```
### Mono vtable layout ###
Internally when Mono computes the interface table for each class, it would previously sort the interfaces by `MonoClass:interface_id` which is a unique id assigned (roughly) in load order. This was incorrect because the order of the interfaces determines the final vtable for the class. This PR changes the interface table computation so that the interfaces of a single class are ordered in declaration order, following ECMA.
One consequence is that we can no longer use binary search with the interface id as the key to find out if a class implements an interface. We have to do a linear scan. On the other hand, we expect that the number of interfaces implemented by a single class is small in practice.
This is how the Vtable for Fooer1 and Fooer2 looks like after the changes:
```
*** Vtable for class 'Fooer1' at "FINALLY" (size 6)
[O][000][INDEX 000] object:ToString () [0x7fd78681db20]
[O][001][INDEX 001] object:GetHashCode () [0x7fd78681daf8]
[O][002][INDEX 002] object:Finalize () [0x7fd78681dad0]
[O][003][INDEX 003] object:Equals (object) [0x7fd78681daa8]
[I][004][INDEX 000] IFoo:Gimme () [0x7fd786503800]
[I][005][INDEX 000] IFoo:Gimme () [0x7fd7865038c0]
Packed interface table for class Fooer1 has size 2
[000][UUID 078][SLOT 004][SIZE 001] interface IFoo[Base]
[001][UUID 079][SLOT 005][SIZE 001] interface IFoo[Derived]
```
and
```
*** Vtable for class 'Fooer2' at "FINALLY" (size 6)
[O][000][INDEX 000] object:ToString () [0x7fd78681db20]
[O][001][INDEX 001] object:GetHashCode () [0x7fd78681daf8]
[O][002][INDEX 002] object:Finalize () [0x7fd78681dad0]
[O][003][INDEX 003] object:Equals (object) [0x7fd78681daa8]
[I][004][INDEX 000] IFoo:Gimme () [0x7fd7865038c0]
[I][005][INDEX 000] IFoo:Gimme () [0x7fd786503800]
Packed interface table for class Fooer2 has size 2
[000][UUID 079][SLOT 004][SIZE 001] interface IFoo[Derived]
[001][UUID 078][SLOT 005][SIZE 001] interface IFoo[Base]
```
This is how the VTable for Fooer1 and Fooer2 looks like before the changes, as you can see Packed interface table are the same in Fooer1 and Fooer2, so the behavior of both classes was the same:
```
Vtable for class 'Fooer1' at "FINALLY" (size 6)
[O][000][INDEX 000] object:ToString () [0x7fcf3801d920]
[O][001][INDEX 001] object:GetHashCode () [0x7fcf3801d8f8]
[O][002][INDEX 002] object:Finalize () [0x7fcf3801d8d0]
[O][003][INDEX 003] object:Equals (object) [0x7fcf3801d8a8]
[I][004][INDEX 000] IFoo:Gimme () [0x7fcf37c29880]
[I][005][INDEX 000] IFoo:Gimme () [0x7fcf37c29940]
Packed interface table for class Fooer1 has size 2
[000][UUID 076][SLOT 004][SIZE 001] interface IFoo[Base]
[001][UUID 077][SLOT 005][SIZE 001] interface IFoo[Derived]
```
```
Vtable for class 'Fooer2' at "FINALLY" (size 6)
[O][000][INDEX 000] object:ToString () [0x7fcf3801d920]
[O][001][INDEX 001] object:GetHashCode () [0x7fcf3801d8f8]
[O][002][INDEX 002] object:Finalize () [0x7fcf3801d8d0]
[O][003][INDEX 003] object:Equals (object) [0x7fcf3801d8a8]
[I][004][INDEX 000] IFoo:Gimme () [0x7fcf37c29940]
[I][005][INDEX 000] IFoo:Gimme () [0x7fcf37c29880]
Packed interface table for class Fooer2 has size 2
[000][UUID 076][SLOT 005][SIZE 001] interface IFoo[Base]
[001][UUID 077][SLOT 004][SIZE 001] interface IFoo[Derived]
```
Commit migrated from https://github.com/mono/mono/commit/
beb81d3deb068f03efa72be986c96f9c3ab66275
Zoltan Varga [Thu, 4 Apr 2019 13:46:06 +0000 (09:46 -0400)]
[llvm] Fix llvm JIT. (mono/mono#13835)
[llvm] Fix llvm JIT.
<!--
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
-->
Commit migrated from https://github.com/mono/mono/commit/
aba1bac992971a1784fdf1db9a346bc7a305876c
Filip Navara [Thu, 4 Apr 2019 09:08:07 +0000 (11:08 +0200)]
[netcore] Improve support for rare enum types (mono/mono#13825)
* [netcore] Improve support for rare enum types (IntPtr, UIntPtr, Single, Double, Char, Boolean backing types)
* Add back Intrinsic attribute
* Update Enum.cs
Commit migrated from https://github.com/mono/mono/commit/
9270f159bf33f6f692222375ecf771225d8280b4
Egor Bogatov [Thu, 4 Apr 2019 08:37:05 +0000 (11:37 +0300)]
[netcore] Implement missing Math and MathF methods (mono/mono#13833)
* Add missing Math(f) methods
* remove extra empty line
Commit migrated from https://github.com/mono/mono/commit/
271c4448b440e5f0385f6f2c78679158fa311ce4
Vlad Brezae [Thu, 4 Apr 2019 08:06:19 +0000 (11:06 +0300)]
[interp] Optimize static vtype field access (mono/mono#13769)
We want to avoid calling stackval_to/from methods. Also include the field address in the instruction stream. This makes static vtype field access 10x faster.
Refactor the code a bit.
Commit migrated from https://github.com/mono/mono/commit/
e6c43065f757e57819648f9dc9e18bd840d27b0c
Vlad Brezae [Wed, 3 Apr 2019 18:26:00 +0000 (21:26 +0300)]
[gsharedvt] Fix sizeof opcode (mono/mono#13817)
[gsharedvt] Fix sizeof opcode
We were setting the stack type by using another global local named ins.
This lead to missing methods in the aot image due to invalid IL. Fixes https://github.com/mono/mono/issues/13479.
Commit migrated from https://github.com/mono/mono/commit/
cfa75e8ca5faceddc0aef3e3cddb08d6c7b918a7
Jo Shields [Wed, 3 Apr 2019 18:09:29 +0000 (14:09 -0400)]
Merge pull request mono/mono#13828 from directhex/loadedllvmaot
Add MONO_LLVM_INTERNAL to re-fix LLVM AOT with loadedllvm
Commit migrated from https://github.com/mono/mono/commit/
4c07ca4e464d55b972b0d633ee2d81dd2d40659f
Jo Shields [Wed, 3 Apr 2019 17:38:20 +0000 (13:38 -0400)]
Merge pull request mono/mono#13750 from directhex/test-installed-prefix-mono
Add tests to ensure `make install` prefix is functional
Commit migrated from https://github.com/mono/mono/commit/
124025fc4de5c1fdcacf80b728fab4a48157b96b
Jo Shields [Wed, 3 Apr 2019 17:19:57 +0000 (13:19 -0400)]
Add MONO_LLVM_INTERNAL to re-fix LLVM AOT with loadedllvm
Commit migrated from https://github.com/mono/mono/commit/
656208c0047eee2d21319ed249f306680b913da7
Vlad Brezae [Wed, 3 Apr 2019 16:56:35 +0000 (19:56 +0300)]
[interp] Add intrinsics for Math operations (mono/mono#13635)
Commit migrated from https://github.com/mono/mono/commit/
f98a81b488e7941ff0f92c88ad28da9e900a52cc
Marek Safar [Wed, 3 Apr 2019 13:27:48 +0000 (15:27 +0200)]
[netcore] Simplify runtime and tests synchronization
Commit migrated from https://github.com/mono/mono/commit/
9bdf6c2c6c72e139db5dab5dcb800d1c4a7a2bc2
Filip Navara [Tue, 2 Apr 2019 22:15:14 +0000 (00:15 +0200)]
[netcore] Bump SDK version
Commit migrated from https://github.com/mono/mono/commit/
bd8ec579016b8512931f7f872e18e260013eb23e
Jay Krell [Wed, 3 Apr 2019 07:26:28 +0000 (00:26 -0700)]
Rename cabs/cimag/creal to mono_cabs/mono_cimag/mono_creal without macro to rename. (mono/mono#13663)
Also make cimag/creal macros for guaranteed inlining -- instead of passing structs by value.
And add spaces before parens to follow coding convention (which is designed
to ease low tech searches for entire words).
This was agreed to when the code was first ported to C++ but got dropped.
The compromise though was to put the defines relatively late to limit their impact.
Commit migrated from https://github.com/mono/mono/commit/
5ed727ed8ec595ad440c9f70a69d9bc970eccb86
Jo Shields [Tue, 2 Apr 2019 18:04:55 +0000 (14:04 -0400)]
Merge pull request mono/mono#13797 from directhex/remove-csc-dim-some-more
Remove csc-dim script, since csc-dim is gone
Commit migrated from https://github.com/mono/mono/commit/
688ac23fb69edb61995369d162b90b1bfc73ebb3
Filip Navara [Tue, 2 Apr 2019 15:49:20 +0000 (17:49 +0200)]
[netcore] Cleanup + test fixes (mono/mono#13795)
Avoid using `wget` since it's not installed on macOS by default.
Commit migrated from https://github.com/mono/mono/commit/
02be9aeba324089a46a10a1cecddf40826e71f64
Egor Bogatov [Tue, 2 Apr 2019 12:48:53 +0000 (15:48 +0300)]
[netcore] Fix few Array tests (mono/mono#13756)
* fix test
* fix tests
* Fix ArgumentNullException empty ParamName
* System.Text.Tests.StringBuilderTests are fine
* fix BlockCopy test
* enable more tests
* Enable more tests
* address feedback
Commit migrated from https://github.com/mono/mono/commit/
3bb6fe8797d70edd53330fe391a042f7c74a1978
Zoltan Varga [Tue, 2 Apr 2019 07:02:25 +0000 (03:02 -0400)]
[netcore] Fixes for System.Reflection tests. (mono/mono#13776)
* [netcore] Add error checking for assembly version parsing, pass the full 32 bit value to managed code.
* [netcore] Implement RuntimeType.StructLayoutAttribute.
* [runtime] Implement RuntimeFieldHandle.GetValueDirect (), convert SetValueDirect () to handles.
* [netcore] Implement Assembly.GetFiles ()/GetForwardedTypes ().
* [runtime] Handle 'ARM' as a valid architecture in assembly name parsing.
* [netcore] Implement ParameterInfo.MarshalAsAttribute, AssemblyName.EscapedCodeBase.
* [netcore] Add exclusions for System.Reflection.Tests.
* [netcore] Update test exclusions.
* [netcore] Fix CustomAttributeExtensions.
* [netcore] Add a list of passing test suites.
* [netcore] Add a missing argument check.
* Update Object.cs
Commit migrated from https://github.com/mono/mono/commit/
df846bcbc9706e325f3b5dca4d09530b80e9db83
Filip Navara [Mon, 1 Apr 2019 21:44:00 +0000 (23:44 +0200)]
[netcore] Add exception for System.Threading.ThreadPool tests
Commit migrated from https://github.com/mono/mono/commit/
a63a85b21d8bb9494aacec2ef796290daaf8a1dc
Filip Navara [Mon, 1 Apr 2019 21:39:21 +0000 (23:39 +0200)]
[netcore] Add exception for System.IO tests
Commit migrated from https://github.com/mono/mono/commit/
ed01dc0e92fb147b9266d1515a0543d4e2d1656d
Filip Navara [Mon, 1 Apr 2019 21:23:13 +0000 (23:23 +0200)]
[netcore] Add exception for System.Text.Json tests
Commit migrated from https://github.com/mono/mono/commit/
8b2463b57cbd2d2cf1e2842e3b70660fc2187a02
Zoltan Varga [Mon, 1 Apr 2019 04:46:03 +0000 (00:46 -0400)]
[netcore] Fix a number of SRE argument checking failures.
Commit migrated from https://github.com/mono/mono/commit/
cee8934bcedbf9617d0f87a01d0634b2af3dc992
Zoltan Varga [Mon, 1 Apr 2019 03:47:02 +0000 (23:47 -0400)]
[sre] Emit custom modifiers for return values.
Commit migrated from https://github.com/mono/mono/commit/
476514ec988c05cc4f80b191692641ed9a6c6a4f
Jo Shields [Mon, 1 Apr 2019 19:50:51 +0000 (15:50 -0400)]
Fix tarball builds
Commit migrated from https://github.com/mono/mono/commit/
262a543a17bad3fb43ff42501b7c3eea0bbf5f71
Martin Baulig [Mon, 1 Apr 2019 18:14:22 +0000 (14:14 -0400)]
Add netcore/Makefile to .gitignore (mono/mono#13771)
Commit migrated from https://github.com/mono/mono/commit/
f42f1026cd8a015c45c13aca77613e1c0370823d
Zoltan Varga [Mon, 1 Apr 2019 17:15:52 +0000 (13:15 -0400)]
[interp] Add Internal.Runtime.CompilerServices.Unsafe intrinsics. (mono/mono#13732)
[interp] Add Internal.Runtime.CompilerServices.Unsafe intrinsics.
Commit migrated from https://github.com/mono/mono/commit/
37a09e9eb0deee136fe875d36345e318cfd103ed
Jay Krell [Mon, 1 Apr 2019 16:43:10 +0000 (09:43 -0700)]
Fix a few deficiencies in mono_path_filename_in_basedir. Mainly strstr. (mono/mono#13719)
* Fix a few deficiencies in mono_path_filename_in_basedir.
The main one is that strstr is too loose.
Add tests.
Make it case insensitive on Win32 and allow some denormal input.
Note that case sensitivity is a function of file system, not
operating system, but a lot of code gets it wrong, so here does too.
Add more data to asserts.
Account for test reality -- filename is not absolute.
The Win32 code paths can be tested on Unix and vice versa
w/o compromise. See https://github.com/mono/mono/pull/13707
* Reduce testing per PR feedback.
* Edit/add comments.
This is an attempt to clarify and hopefully doesn't backfire.
* Try to make tests clearer, and stop skipping some oops.
* PR: Restore case insensitivity testing on Windows. Tweak a little bit.
* Include the .c file instead of .h to fix some builds.
Commit migrated from https://github.com/mono/mono/commit/
ff1d485b56bec3d62a83f9dbeb29548aa353b014
Jo Shields [Mon, 1 Apr 2019 15:40:54 +0000 (11:40 -0400)]
Merge pull request mono/mono#13767 from directhex/master
Bump version to 6.3
Commit migrated from https://github.com/mono/mono/commit/
c4eb7d679be48286122bcc03ba261d2bef9df389
Jo Shields [Mon, 1 Apr 2019 14:43:21 +0000 (10:43 -0400)]
Bump version to 6.3
Commit migrated from https://github.com/mono/mono/commit/
b198ef5ad697005a86aaf73d3229d19bd9aef9f5
Filip Navara [Mon, 1 Apr 2019 10:15:50 +0000 (12:15 +0200)]
Fix WASM build (mono/mono#13763)
Broken by https://github.com/mono/mono/pull/13712.
Commit migrated from https://github.com/mono/mono/commit/
acb8dd1183acb4ed4b9b967004a0499cf44de45c
Marek Habersack [Tue, 15 Jan 2019 16:29:05 +0000 (17:29 +0100)]
[sdks,mac] Remove dependency on MXE in favor of MinGW
It turns out that homebrew now has a package for the MinGW gcc-based windows
cross compiler which is awesome as it allows us to skip building MXE and use the
latest version of the GCC suite pre-packaged for Mac. This commit removes almost
all traces of MXE (except for `mxe.mk` itself, because I don't know if any bot
or external tool, whatever, use targets in it) and adds the following brew
packages to SDK bot provisioning as well as to the `provision-mxe` target of
Mono SDKs:
* mingw-w64
* xamarin/xamarin-android-windeps/mingw-zlib
The latter package builds a Windows version of zlib using MinGW and it comes
from Xamarin's own homebrew tap at https://github.com/xamarin/homebrew-xamarin-android-windeps/blob/mono/mono@
f4cc90845ff1953800d8d71035566a12d9b7aa24/mingw-zlib.rb
Additionally, this commit adds a new `configure` flag: `--with-static-zlib=PATH`
which allows one to specify the static zlib archive to use when linking Mono.
The static archive supersedes the otherwise indicated or detected zlib. This is
the recommended mode of operation for MinGW builds as it avoids problems with
`zlib.dll` versions on the target machine.
Commit migrated from https://github.com/mono/mono/commit/
acbeffd07339aea56f3157d2dd88d27e7f24d538
Filip Navara [Sun, 31 Mar 2019 10:08:51 +0000 (12:08 +0200)]
[System.Private.CoreLib/mscorlib] Implement Interlocked.MemoryBarrierProcessWide (mono/mono#13712)
* Implement Interlocked.MemoryBarrierProcessWide
* Bump MONO_CORLIB_VERSION
* Bump API snapshot submodule
Commit migrated from https://github.com/mono/mono/commit/
9ccfd778e34aa12cf718968381968a46451f6468
Egor Bogatov [Sat, 30 Mar 2019 00:38:18 +0000 (02:38 +0200)]
fix IsPinnable
Commit migrated from https://github.com/mono/mono/commit/
282a9635b39ea73b2c8ec8704d47b4046c19464a
Marek Safar [Fri, 29 Mar 2019 16:07:40 +0000 (17:07 +0100)]
enable more tests
Commit migrated from https://github.com/mono/mono/commit/
4d7931cd0f71005ab4797bbab3a49d91e464df98
Marek Safar [Fri, 29 Mar 2019 13:58:40 +0000 (14:58 +0100)]
[netcore] Reorder test targets
Commit migrated from https://github.com/mono/mono/commit/
c302bfdc660142fb03805535fe36b7cbc068f1b2
Aleksey Kliger (λgeek) [Fri, 29 Mar 2019 20:27:49 +0000 (16:27 -0400)]
[arm] Don't use C++ keyword as a variable name (mono/mono#13744)
Fixes the nightly C++ Jenkins jobs
https://jenkins.mono-project.com/job/test-mono-mainline-linux-cxx/
Commit migrated from https://github.com/mono/mono/commit/
20b523ee9c57802981ec89d23289b7dd62dd8376
Jo Shields [Fri, 29 Mar 2019 17:27:48 +0000 (13:27 -0400)]
Merge pull request mono/mono#13633 from rfht/master
Fix DNS Name Resolution Failure on OpenBSD (GitHub issue mono/mono#8168)
Commit migrated from https://github.com/mono/mono/commit/
fbc7da2a3f80f8262f45ee2a924ef5dc9f2571c4
Filip Navara [Fri, 29 Mar 2019 16:53:52 +0000 (17:53 +0100)]
[netcore] Guard for skipFrames overflow, update test exclusions (mono/mono#13745)
* [netcore] Guard for skipFrames overflow
* [netcore] Remove Timer tests exclusion
* [netcore] Remove unnecessary null check
Commit migrated from https://github.com/mono/mono/commit/
a7a225ceafc6344092a4703727930a71505873d4
Egor Bogatov [Fri, 29 Mar 2019 14:45:59 +0000 (16:45 +0200)]
Update tests
Commit migrated from https://github.com/mono/mono/commit/
8cce577994863df13a2a2ead85b20726f28c3eb9
Zoltan Varga [Fri, 29 Mar 2019 11:47:16 +0000 (07:47 -0400)]
[netcore] Ongoing work. (mono/mono#13731)
Commit migrated from https://github.com/mono/mono/commit/
77e99d080d9c4419c546f0ba1023bf5653ac2dbd
Egor Bogatov [Thu, 28 Mar 2019 17:00:34 +0000 (19:00 +0200)]
[netcore] Improve xtest command (mono/mono#13703)
The python script now also extracts downloaded zips and `make xtest-%` is now able to consume these artifacts.
E.g.
```
make xtest-System.Collections.Tests COREFX_ROOT=/prj/corefx-repo
```
We still need COREFX_ROOT because of two missing files:
`CoreFx.Private.TestUtilities.dll` and `xunit.console.deps.json`
maybe I should just add them to our repo?
Also this PR fixes `RemoteExecutorConsoleApp` problems for `make xtest-%`
Commit migrated from https://github.com/mono/mono/commit/
2522547cd5ba592e21fdba2e94a9feeb20037daf
Larry Ewing [Thu, 28 Mar 2019 16:44:43 +0000 (11:44 -0500)]
Merge pull request mono/mono#13705 from kjpou1/wasm-issue-12871
[wasm] Fix System.DllNotFoundException: libc
Commit migrated from https://github.com/mono/mono/commit/
49ba9f32ecd06971357abf365a8c0379b1c3d1c9
Alexander Köplinger [Thu, 28 Mar 2019 15:38:09 +0000 (16:38 +0100)]
[Mono.Runtime.Tests] Remove duplicate file in .sources
Commit migrated from https://github.com/mono/mono/commit/
f48b0a70c3ae4418775594200e29856dd2dd7668
Jo Shields [Thu, 28 Mar 2019 15:22:09 +0000 (11:22 -0400)]
Merge pull request mono/mono#13700 from directhex/compress-with-xz
Switch `make dist` format from BZip2 to XZ.
Commit migrated from https://github.com/mono/mono/commit/
7e99ce296081e50270147521106784319317e1ca
Radek Doulik [Thu, 28 Mar 2019 14:54:36 +0000 (15:54 +0100)]
[profiler] Add duration=NUM parameter to AOT profiler (mono/mono#13688)
* [profiler] Add duration=NUM parameter to AOT profiler
It instructs the AOT profiler to write the data after NUM seconds
measured from runtime initialization.
* [profilers] Added aot:duration=NUM parameter description
Commit migrated from https://github.com/mono/mono/commit/
4cf13bcd16b48b0e8b7eed99042e3746cdb1080a
Jo Shields [Thu, 28 Mar 2019 14:18:53 +0000 (10:18 -0400)]
Merge pull request mono/mono#13699 from directhex/no-more-monograph
Delete monograph. Closes https://github.com/mono/mono/issues/7845
Commit migrated from https://github.com/mono/mono/commit/
ac0f7ece3511837a6dd4c8465dbf3a07d783a155
Filip Navara [Wed, 27 Mar 2019 19:43:17 +0000 (20:43 +0100)]
Update Makefile
Commit migrated from https://github.com/mono/mono/commit/
8f99674718a05b77fff917cfaa9c87a523b56088
Filip Navara [Tue, 26 Mar 2019 22:31:07 +0000 (23:31 +0100)]
Separate out common code from pinvoke_probe_for_module_relative_directories into pinvoke_probe_for_module_in_directory
Commit migrated from https://github.com/mono/mono/commit/
141493c473a11c3e521faaf3086b7ed8df53b6c6
Filip Navara [Tue, 26 Mar 2019 21:23:28 +0000 (22:23 +0100)]
[netcore] Move P/Invoke directory lookup from mono_dl_fallback to pinvoke_probe_for_module_relative_directories
Commit migrated from https://github.com/mono/mono/commit/
4648210f3b9bdf5ef43984998abbe4da038c9d46
Filip Navara [Tue, 26 Mar 2019 10:42:01 +0000 (11:42 +0100)]
[netcore] Handle NATIVE_DLL_SEARCH_DIRECTORIES for p/invoke
Co-authored-by: Aleksey Kliger <alklig@microsoft.com>
Commit migrated from https://github.com/mono/mono/commit/
3e05b4ea77e0e7e4ca0a8ef76b773bc73efa9eb0
Vlad Brezae [Thu, 28 Mar 2019 12:12:17 +0000 (14:12 +0200)]
[interp] Small changes (mono/mono#13691)
* [interp] Extract the code pushing lmf in separate function
There is no reason to not optimize the code inside do_icall
* [interp] Remove dead code
Trace ips are filled in mono_handle_exception_internal
Commit migrated from https://github.com/mono/mono/commit/
23aa609af78cde121fe2cdcc53a562bb7dd7b752
Zoltan Varga [Thu, 28 Mar 2019 04:10:06 +0000 (00:10 -0400)]
[llvm] Fix the computation of size of gshared instances in another place.
Fixes https://github.com/mono/mono/issues/13610.
Commit migrated from https://github.com/mono/mono/commit/
34f3b8947c9461c922ba93dc19243f24c7fd4a67
Jay Krell [Thu, 28 Mar 2019 06:20:53 +0000 (23:20 -0700)]
Restore domain in error path. (mono/mono#13662)
* In mono_threadpool_enqueue_work_item, if mono_runtime_invoke_checked fails,
still restore domain.
In mono_threadpool_enqueue_work_item, acknowledge with a comment but do not change
that mono_domain_set failing leads to returning success.
In mono_threadpool_enqueue_work_item, refactor for sharing code without loss
of efficiency or hopefully clarity.
* Keep this line duplicated:
`mono_runtime_invoke_checked (unsafe_queue_custom_work_item_method, NULL, args, error);`
Commit migrated from https://github.com/mono/mono/commit/
83acc1a3431c1eba1f911d9c82934ad9cbdffc36
Jay Krell [Thu, 28 Mar 2019 06:20:35 +0000 (23:20 -0700)]
Cleanup mono_marshal_get_icall_wrapper (mono/mono#13661)
Every caller was consistently forming the same name based on callinfo->name
and passing callinfo->func and callinfo->sig.
Pass callinfo instead and do the common work in mono_marshal_get_icall_wrapper.
This has the following side effects:
Do not form and free name when there is a cache hit. This seems like a nice optimization.
Allow name when there is a cache hit. This is unintended. We could assert if it is a problem.
Commit migrated from https://github.com/mono/mono/commit/
3fae397cce86398d738026db8220ee6ddcbcd503
Zoltan Varga [Wed, 27 Mar 2019 22:46:43 +0000 (18:46 -0400)]
[runtime] Revert mono/mono@
daf92b9e62a847d521ae314c320d3502fefe217e. (mono/mono#13696)
Fixes https://github.com/mono/mono/issues/13607.
Commit migrated from https://github.com/mono/mono/commit/
5433bd030ea2d6645c333845408fb5e1b1bd5d5b
Jo Shields [Wed, 27 Mar 2019 19:50:25 +0000 (15:50 -0400)]
Switch `make dist` format from BZip2 to XZ.
Closes https://github.com/mono/mono/issues/9267
Commit migrated from https://github.com/mono/mono/commit/
a9c340a0636da35460dd5b5d179d029ef10862c5
Jo Shields [Wed, 27 Mar 2019 19:45:06 +0000 (15:45 -0400)]
Delete monograph. Closes https://github.com/mono/mono/issues/7845
Commit migrated from https://github.com/mono/mono/commit/
38fdb39cacf4542243d77f1adb68402c5358c262
Jo Shields [Wed, 27 Mar 2019 18:39:17 +0000 (14:39 -0400)]
Merge pull request mono/mono#13673 from directhex/runtime-nupkg
Runtime nupkg generation
Commit migrated from https://github.com/mono/mono/commit/
e40d76cb4a18168c8791f2c0e42674500d887015
Alexander Köplinger [Wed, 27 Mar 2019 18:11:48 +0000 (19:11 +0100)]
[mono] Don't try "open" handlers on iOS/Android in ves_icall_System_Diagnostics_Process_ShellExecuteEx_internal (mono/mono#13693)
When you use `Process.Start()` with `UseShellExecute=true` (which is the default on Mono/.NET Framework, but false on .NET Core) then we'd still try to first start the file directly, before falling back to trying the "open" handlers like xdg-open to launch the file.
Presumably we do this so that on mobile you can still start a process without needing to explicitly set `UseShellExecute=false`.
However we don't need to try the fallback on iOS/Android since the "open" handlers won't work there anyway.
This recently showed up on the Xamarin.iOS Mono 2019-02 integration where we started running the `System.Diagnostics.ProcessTest` suite and the `Start1_FileName_NotFound()` would fail at `#C6` because the native error code wasn't 2 (file not found) but 13 (invalid data). This is because it tried
to use `/usr/bin/open` which doesn't work of course so it got to the `mono_w32error_set_last (ERROR_INVALID_DATA)` on L2088.
Commit migrated from https://github.com/mono/mono/commit/
e8c660ce90efc7966ffc6fa9753ac237b2afadf2
Jo Shields [Tue, 26 Mar 2019 14:55:14 +0000 (10:55 -0400)]
Add some RID detection, and use it to allow runtime nupkg generation
We cannot presume more than just "linux" or "osx" in our RIDs, because
if we want to enable --host vs --build, we can't detect the OS from
the runtime environment.
This is an okay compromise for now.
Commit migrated from https://github.com/mono/mono/commit/
a48e2c8e102a1384e8a3d07b141a419683825059
Jo Shields [Fri, 22 Mar 2019 15:19:25 +0000 (11:19 -0400)]
Add possibility of generating a runtime .nupkg for Mono (Mac-only right now)
Commit migrated from https://github.com/mono/mono/commit/
7f04ffa847ebee8930fe6a0632831c641fde95bf
Filip Navara [Wed, 27 Mar 2019 09:09:01 +0000 (10:09 +0100)]
[netcore] Fix stack size for new threads
Commit migrated from https://github.com/mono/mono/commit/
7a74f15949ea961859fe645bd7f35a7e906d6bf7
Filip Navara [Tue, 26 Mar 2019 12:53:13 +0000 (13:53 +0100)]
[netcore] Fix thread debugging messages
Commit migrated from https://github.com/mono/mono/commit/
c45f622d971a5b2fed8e98eb563bf842885aff4a
Zoltan Varga [Wed, 27 Mar 2019 01:35:46 +0000 (21:35 -0400)]
[netcore] Download test assets from the dotnet-core blob feed.
Commit migrated from https://github.com/mono/mono/commit/
c7d6919ceb522c3c400ce07e1c145769b6705fe3
Katelyn Gadd [Wed, 27 Mar 2019 08:17:24 +0000 (01:17 -0700)]
Bump roslyn binaries to 3.1.0 and add VBCSCompiler.exe to the set of paths auto-detected by configure.ac (mono/mono#13518)
* Reconfigure bump for PR test
* Actually bump submodule this time probably
* Bump submodule
* Revert "Bump submodule"
This reverts commit mono/mono@
b47679be10d3c38d40673cf73e0dc48a300318bc.
* Bump submodule
* Modify csi-test.csx to manually reference netstandard 2.0, because this is required for some reason
* Checkpoint: Test modifying csi.rsp instead of csi-test
* Git
* Update submodule
* Update submodule compiler path
* Remove binaries-new submodule
* Update to latest roslyn-binaries revision and update path in configure.ac
Commit migrated from https://github.com/mono/mono/commit/
e9d847d0f68bacff91afa9253b59f48d5dc61ba3
Zoltan Varga [Wed, 27 Mar 2019 00:57:42 +0000 (20:57 -0400)]
[netcore] Fix some thread failures.
Commit migrated from https://github.com/mono/mono/commit/
4bb8637454e9f380bf3f49542df3930acdf4acd5
Zoltan Varga [Tue, 26 Mar 2019 23:27:04 +0000 (19:27 -0400)]
[netcore] Fix ArgumentException argument order.
Commit migrated from https://github.com/mono/mono/commit/
de89d6dc77f18ff44b6fdcf3397b0e2110e0e23b
Zoltan Varga [Tue, 26 Mar 2019 23:26:46 +0000 (19:26 -0400)]
[netcore] Disable boehm.
Commit migrated from https://github.com/mono/mono/commit/
593853ef061cdeba5d7d503f3cadae38cc5ac065
Martin Baulig [Wed, 27 Mar 2019 05:51:38 +0000 (01:51 -0400)]
Split `AppDomain.DoTypeResolve(object)` into `DoTypeResolve()` and `DoTypeBuilderResolve()`. (mono/mono#13142)
* Instead of having one `AppDomain.DoTypeResolve(object)` that checks at runtime whether
the argument is a `string` or a `TypeBuilder`, use two strongly-typed methods
`DoTypeResolve(string)` and `DoTypeBuilderResolve(TypeBuilder)`.
* Add both to the `corlib/LinkerDescriptor/mscorlib.xml`.
* Adjust the code in `appdomain.c` accordingly.
* Bump corlib version.
This is part of a larger on-going project to improve the linker logic.
The rationale behind this is that the new `AppDomain.DoTypeResolve(string)`
that is being called from `mono_domain_try_type_resolve_name()` should not
reference `TypeBuilder`, to allow the linker to remove some of the
`System.Reflection.Emit` types.
Commit migrated from https://github.com/mono/mono/commit/
1af992a5ffa46e20dd61a64b6dcecef0edb5c459
Jay Krell [Wed, 27 Mar 2019 03:45:42 +0000 (20:45 -0700)]
Cleanup double semi-colons. (mono/mono#13660)
Cleanup double semi-colons.
Commit migrated from https://github.com/mono/mono/commit/
636160148f53d86d08be0b4aeaa556070773cbd6
Filip Navara [Mon, 25 Mar 2019 18:59:30 +0000 (19:59 +0100)]
Fix sample path
Commit migrated from https://github.com/mono/mono/commit/
fea837d6d3624bab5453cc7438abec77a4db9879
Egor Bogatov [Tue, 26 Mar 2019 17:10:23 +0000 (19:10 +0200)]
[netcore] Implement Array.Sort (mono/mono#13674)
* Update Array.cs
* implement Array.Sort
Commit migrated from https://github.com/mono/mono/commit/
2f1c1d3b2ce20b5480285a6d38010cbc6d086283
Bernhard Urban [Tue, 26 Mar 2019 16:30:18 +0000 (17:30 +0100)]
[intrinsics] sync implementation with IL code (mono/mono#13647)
* [intrinsics] sync implementation with IL code
Before the intrinsic implemented
```
ldarg.0
ldarg.1
sizeof !!T
mul
conv.i
add
ret
```
now it implements
```
ldarg.0
ldarg.1
sizeof !!T
conv.i
mul
add
ret
```
`conv.i` and `mul` have been swapped. Also see https://github.com/mono/mono/pull/13609
* fix op_sext_i4 usage
Commit migrated from https://github.com/mono/mono/commit/
5e70d5ee51213ee4b07699b7b6c04cf9e08d5c0c
Zoltan Varga [Tue, 26 Mar 2019 15:28:59 +0000 (11:28 -0400)]
[llvm] Fix the computation of size of gshared instances in emit_args_to_vtype (). (mono/mono#13659)
Fixes https://github.com/mono/mono/issues/13610.
Commit migrated from https://github.com/mono/mono/commit/
9d652a972a015187b870c35057e7be1fa9c6852f
Filip Navara [Thu, 21 Mar 2019 21:22:48 +0000 (22:22 +0100)]
Convert from ucontext_t (or platform equivalent) to MonoContext early and propagate it through
Commit migrated from https://github.com/mono/mono/commit/
e7011c780f676914f559f14f25e76c192bb2b0b2
Filip Navara [Thu, 21 Mar 2019 17:53:02 +0000 (18:53 +0100)]
Preserve the native crash context instead of MonoContext to allow printing managed stack trace later
Commit migrated from https://github.com/mono/mono/commit/
69abf8f5e427aaf3a1bfa13e7047349d90873313
Filip Navara [Mon, 25 Mar 2019 21:27:00 +0000 (22:27 +0100)]
[netcore] Change loader behaviour to disable assembly remapping and allow loading newer assembly versions
Commit migrated from https://github.com/mono/mono/commit/
d8e53c515d512562538c9081300bb35691da8858
Marek Safar [Mon, 25 Mar 2019 23:13:53 +0000 (00:13 +0100)]
[System.Private.CoreLib] Implement StackFrame initialization
Commit migrated from https://github.com/mono/mono/commit/
86506fbdbd345b6b9f8e2371f243a79c116dc4e5
Larry Ewing [Mon, 25 Mar 2019 18:55:51 +0000 (13:55 -0500)]
Merge pull request mono/mono#13620 from kjpou1/wasm-misc-cleanup
[wasm] Remove specific link to framework file when building test-suite
Commit migrated from https://github.com/mono/mono/commit/
ed2d3504d6a59ed7c0abad97374fcaa184ba2581
Bernhard Urban [Mon, 25 Mar 2019 18:25:43 +0000 (19:25 +0100)]
[amd64] use 32bit variant of lea_membase for 32bit operations (mono/mono#13642)
[amd64] use 32bit variant of lea_membase for 32bit operations
Consider
```
xor %r15, %r15 // %r15 = 0x0
dec %r15d // %r15 = 0xffff_ffff
lea 0x1(%r15), %rdx // %rdx = 0x1_0000_0000 but should be 0x0
```
instead `lea 0x1(%r15), %edx` should be generated.
Fixes mono/mono#13452
Fixes mono/mono#13597
Commit migrated from https://github.com/mono/mono/commit/
64e17113b221d8bf2bcf041977e8ddb582614b35
Larry Ewing [Mon, 25 Mar 2019 17:13:01 +0000 (12:13 -0500)]
Merge pull request mono/mono#13636 from kjpou1/wasm-add-bindings
[wasm] [packager] Remove the unnecessary call to add_bindings()
Commit migrated from https://github.com/mono/mono/commit/
05a40c67ea5d76aed212a981b1183abf6317d7f7
Egor Bogatov [Mon, 25 Mar 2019 15:40:42 +0000 (17:40 +0200)]
[netcore] Improve xunit console runner (mono/mono#13648)
* improve xunit runner
* improve xunit runner
Commit migrated from https://github.com/mono/mono/commit/
e653d48b3aa37b378d2f13be6411e88be493a463