platform/upstream/dotnet/runtime.git
7 years agoDisable symbol package MyGet publish on release/* (dotnet/coreclr#11372)
Davis Goodin [Thu, 4 May 2017 14:17:24 +0000 (09:17 -0500)]
Disable symbol package MyGet publish on release/* (dotnet/coreclr#11372)

Commit migrated from https://github.com/dotnet/coreclr/commit/4eb6cb798ef238d8a09e8b85d94da281ba95acf7

7 years agoDelete moved file
Jan Kotas [Thu, 4 May 2017 03:35:14 +0000 (20:35 -0700)]
Delete moved file

Commit migrated from https://github.com/dotnet/coreclr/commit/9ca09de5f54e5edb2733523fad3a52b01700e3de

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3506 from dotnet/nmirror
Jan Kotas [Thu, 4 May 2017 01:58:57 +0000 (18:58 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3506 from dotnet/nmirror

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/48a8b9dcddaee0cf74731db3590d1d4c645954df

7 years agoUpdate CoreClr, CoreFx to preview2-25303-03, preview2-25303-04, respectively (dotnet...
dotnet bot [Thu, 4 May 2017 04:58:52 +0000 (21:58 -0700)]
Update CoreClr, CoreFx to preview2-25303-03, preview2-25303-04, respectively (dotnet/coreclr#11354)

Commit migrated from https://github.com/dotnet/coreclr/commit/e8eb00ebe44dffda27959fc0913fd2b8bb2667d2

7 years agoCreatedump fixes and cleanup. (dotnet/coreclr#11368)
Mike McLaughlin [Thu, 4 May 2017 00:17:22 +0000 (17:17 -0700)]
Createdump fixes and cleanup. (dotnet/coreclr#11368)

Fixed "with heap" option to actually include all the heaps. The way /proc/$pid/maps
was parsed missed most of the RW data/heap regions.

Added -u/--full full core dump options.

Removed the useless m_memStatus variable in enummem.cpp.

Commit migrated from https://github.com/dotnet/coreclr/commit/3fb9d8d2fe094f09a914d31a551e14fe8a1f2215

7 years ago[Arm64/Unix] Revise JIT_MemSet (dotnet/coreclr#11217)
Steve MacLean [Wed, 3 May 2017 22:52:42 +0000 (18:52 -0400)]
[Arm64/Unix] Revise JIT_MemSet (dotnet/coreclr#11217)

* [Arm64/Unix] Revise JIT_MemSet

Use DC ZVA
Use stp
Correctly handle short set lengths
Simplify code & pseudo code
Use uint*_t to make pseudo code more readable

Commit migrated from https://github.com/dotnet/coreclr/commit/cac4e2e82e63c3d892c935262cfb2b04090acae9

7 years agoAdding System\Runtime\CompilerServices\IsByRefLikeAttribute type (dotnet/coreclr...
Vladimir Sadov [Wed, 3 May 2017 22:22:32 +0000 (15:22 -0700)]
Adding System\Runtime\CompilerServices\IsByRefLikeAttribute type (dotnet/coreclr#11369)

described in: https://github.com/dotnet/corefx/issues/19212

Commit migrated from https://github.com/dotnet/coreclr/commit/8ba07fc124eee6a0fbb6f886e90ffd0628e86e48

7 years agoFix some static analysis warnings
Russ Keldorph [Sun, 30 Apr 2017 13:17:30 +0000 (06:17 -0700)]
Fix some static analysis warnings

Most fixes are just addressing the use of (signed) enum-typed variables
as array indices.  Casting to unsigned allows us to cheaply include the
lower bound checks in the existing upper bound checks.  I would prefer
to force the underlying types of enumerations to be unsigned, but that
is a relatively new C++ feature and could have broader consequences than
I want to risk at this point.

The one other fix to asmparse.cpp just suppresses a warning that, while
technically valid, is not causing a real problem.  Perhaps this will get
better if/when dotnet/coreclr#2305 is addressed.

Commit migrated from https://github.com/dotnet/coreclr/commit/1c7e1f4e0b9d338c209a8e73a00c8e9ab42b22e3

7 years agoRemove COMCoverage::nativeCoverBlock (dotnet/coreclr#11364)
Jan Vorlicek [Wed, 3 May 2017 18:57:04 +0000 (11:57 -0700)]
Remove COMCoverage::nativeCoverBlock (dotnet/coreclr#11364)

Remove this unused function and the corresponding references in
ecalllist.h

Commit migrated from https://github.com/dotnet/coreclr/commit/e85c2b298e89147d71605c36d9109f87be2b3079

7 years agoFix Binder NI to IL fallback (dotnet/coreclr#11341)
Steve MacLean [Wed, 3 May 2017 18:24:21 +0000 (14:24 -0400)]
Fix Binder NI to IL fallback (dotnet/coreclr#11341)

* Fix Binder NI to IL fallback

Always try NI first

* Fix Windows warning as error

* [Arm64/Unix] Revise PR per feedback

* More cleanup

Commit migrated from https://github.com/dotnet/coreclr/commit/ef8d1522eb15cb0371f31a9392891c942547a91f

7 years agoPlace precompiled SPC.dll in native assets folder. (dotnet/coreclr#11359)
Gaurav Khanna [Wed, 3 May 2017 17:50:34 +0000 (10:50 -0700)]
Place precompiled SPC.dll in native assets folder. (dotnet/coreclr#11359)

Place precompiled SPC.dll in native assets folder.

Commit migrated from https://github.com/dotnet/coreclr/commit/b16c8c73ce17c4ffb6189467def30c2e70f57a91

7 years agoFix load from (dotnet/coreclr#11342)
Gaurav Khanna [Wed, 3 May 2017 15:35:56 +0000 (08:35 -0700)]
Fix load from (dotnet/coreclr#11342)

* Add LoadFrom dependencies to the LoadFrom list

* Add a comment

Commit migrated from https://github.com/dotnet/coreclr/commit/45132a72dce3aeadff09ce8fbee6a663456cda99

7 years agoImplement Type.IsTypeDefinition property on CoreCLR (dotnet/coreclr#11355)
Atsushi Kanamori [Wed, 3 May 2017 13:40:42 +0000 (06:40 -0700)]
Implement Type.IsTypeDefinition property on CoreCLR (dotnet/coreclr#11355)

This api was just approved.

https://github.com/dotnet/corefx/issues/17345

Commit migrated from https://github.com/dotnet/coreclr/commit/ff2455e3bc3bf39301b71eea234f11c5d56b395d

7 years agoRevert "[ARM32/Linux] Copy tests.zip only for CI test and use x86 unittest"
Russ Keldorph [Wed, 3 May 2017 03:59:24 +0000 (20:59 -0700)]
Revert "[ARM32/Linux] Copy tests.zip only for CI test and use x86 unittest"

This reverts commit dotnet/coreclr@2ec8b5c2cc6d68ca02eb743e679997a8f11c90aa.

Commit migrated from https://github.com/dotnet/coreclr/commit/01fbb88b8c3fc2bcfa06508c5d18567026ccdd26

7 years agoMerge pull request dotnet/coreclr#11362 from DrewScoggins/FixSmoketest
Drew Scoggins [Wed, 3 May 2017 07:08:18 +0000 (16:08 +0900)]
Merge pull request dotnet/coreclr#11362 from DrewScoggins/FixSmoketest

Fix triggering of perf correctness runs

Commit migrated from https://github.com/dotnet/coreclr/commit/e43d3798c1cf07a65b67880459140d25ead13a4e

7 years agoFix triggering of perf correctness runs
Drew Scoggins [Wed, 3 May 2017 06:55:33 +0000 (23:55 -0700)]
Fix triggering of perf correctness runs

When I made the change to have the correctness runs fire in a PR without
the trigger phrase I accidentally did it for all PR's not just for the
smoketest runs.  This change fixes that.

Commit migrated from https://github.com/dotnet/coreclr/commit/a9900197ac9b92e164523d6675d1c65015bc8eba

7 years agoMerge pull request dotnet/coreclr#11180 from DrewScoggins/AddCorrectnessRuns
Drew Scoggins [Wed, 3 May 2017 04:44:46 +0000 (13:44 +0900)]
Merge pull request dotnet/coreclr#11180 from DrewScoggins/AddCorrectnessRuns

Add smoketest for performance tests

Commit migrated from https://github.com/dotnet/coreclr/commit/2a105be2593752afb338ad5e02b2031f6e40d679

7 years agoAdd smoketest for performance tests
Drew Scoggins [Mon, 24 Apr 2017 18:36:27 +0000 (11:36 -0700)]
Add smoketest for performance tests

This adds a run that will fire on the set of Azure VMs and will only run
for one interation.  This along with the changes to fail a performance
run if a test fails will allow us to start gating checkins on the
performance tests still running.

Commit migrated from https://github.com/dotnet/coreclr/commit/6ed8e17a41891b9d149cbe423eea5f779f8591d9

7 years agoMerge pull request dotnet/coreclr#11340 from ericstj/fixCrossTargetFolder
Eric StJohn [Tue, 2 May 2017 23:39:14 +0000 (16:39 -0700)]
Merge pull request dotnet/coreclr#11340 from ericstj/fixCrossTargetFolder

Fix folder name for cross-targeting assets

Commit migrated from https://github.com/dotnet/coreclr/commit/0ac3a15303769277d73d6c57bf1714c649fb1fec

7 years ago[ARM32/Linux] Copy tests.zip only for CI test and use x86 unittest
Hyeongseok Oh [Wed, 26 Apr 2017 06:44:16 +0000 (15:44 +0900)]
[ARM32/Linux] Copy tests.zip only for CI test and use x86 unittest

- Copy tests.zip only from x86 Windows build for CI test
- Use x86 unittest instead of x64: 32bit architecture

Commit migrated from https://github.com/dotnet/coreclr/commit/2ec8b5c2cc6d68ca02eb743e679997a8f11c90aa

7 years agoEnable Marshal.SecureStringToBSTR and Marshal.ZeroFreeBSTR on Unix (dotnet/coreclr...
John Bottenberg [Tue, 2 May 2017 20:54:52 +0000 (13:54 -0700)]
Enable Marshal.SecureStringToBSTR and Marshal.ZeroFreeBSTR on Unix (dotnet/coreclr#11234)

Commit migrated from https://github.com/dotnet/coreclr/commit/746495f70725ed14ffbbc4ec53f32dc4010c0b0a

7 years agoMerge pull request dotnet/coreclr#11336 from wtgodbe/TestingOnLinux
William Godbe [Tue, 2 May 2017 20:34:51 +0000 (13:34 -0700)]
Merge pull request dotnet/coreclr#11336 from wtgodbe/TestingOnLinux

Update Unix test instructions

Commit migrated from https://github.com/dotnet/coreclr/commit/12d91f215cdba670a954c841a3fbb026215ccbe0

7 years agoUpdate Unix test instructions
wtgodbe [Tue, 2 May 2017 19:10:00 +0000 (12:10 -0700)]
Update Unix test instructions

Commit migrated from https://github.com/dotnet/coreclr/commit/3a045cbb0e5abd8af2c0310fc3db9f68b9d4aa13

7 years agoFix folder name for cross-targeting assets
Eric St. John [Tue, 2 May 2017 20:16:52 +0000 (13:16 -0700)]
Fix folder name for cross-targeting assets

Commit migrated from https://github.com/dotnet/coreclr/commit/7c53fc2cee6f0a37db8a7d797c8cd2482c96cef6

7 years agoEnable LoadFrom to pickup assemblies next to requesting assembly (dotnet/coreclr...
Gaurav Khanna [Tue, 2 May 2017 20:14:01 +0000 (13:14 -0700)]
Enable LoadFrom to pickup assemblies next to requesting assembly (dotnet/coreclr#11333)

* Enable LoadFrom to pickup assemblies from next to requestor

* Make early out explicit

Commit migrated from https://github.com/dotnet/coreclr/commit/6fe0bf5cd4921c9c3f0c183c04653d711fd442b0

7 years agoMerge pull request dotnet/coreclr#11329 from BruceForstall/RefactorArmCodegen
Bruce Forstall [Tue, 2 May 2017 18:28:38 +0000 (11:28 -0700)]
Merge pull request dotnet/coreclr#11329 from BruceForstall/RefactorArmCodegen

Refactor arm32/arm64 codegen

Commit migrated from https://github.com/dotnet/coreclr/commit/46d03758b52d43d35b54038472c5942762aa8c18

7 years agoUpdate CoreFx to preview2-25302-03 (dotnet/coreclr#11331)
dotnet bot [Tue, 2 May 2017 18:21:36 +0000 (11:21 -0700)]
Update CoreFx to preview2-25302-03 (dotnet/coreclr#11331)

Commit migrated from https://github.com/dotnet/coreclr/commit/622c6a097d94341d354938ea9014c4f279c9f405

7 years agoSurgically remove unsupported tailcall cases
Russ Keldorph [Mon, 1 May 2017 16:57:21 +0000 (09:57 -0700)]
Surgically remove unsupported tailcall cases

Rather than disabling tailcall tests entirely, surgically remove the
failing cases so the remaining cases can be enabled.

Commit migrated from https://github.com/dotnet/coreclr/commit/c8b635f1e0058b4147d6d89efeb7464e97d03dc3

7 years agoUpdate CoreClr, CoreFx to preview2-25302-02, preview2-25302-01, respectively (dotnet...
dotnet bot [Tue, 2 May 2017 14:23:21 +0000 (07:23 -0700)]
Update CoreClr, CoreFx to preview2-25302-02, preview2-25302-01, respectively (dotnet/coreclr#11326)

Commit migrated from https://github.com/dotnet/coreclr/commit/503c1d3fb0fcf7cdec24e28dd4f7d66b8c8d88e7

7 years agoAdded missing icu headers for Android (dotnet/coreclr#11325)
Cyd Haselton [Tue, 2 May 2017 11:52:46 +0000 (06:52 -0500)]
Added missing icu headers for Android (dotnet/coreclr#11325)

urename.h and ustring.h contain the u_stncpy and its definition.
If they are not in the list of icushim.h headers, Android build fails.

Commit migrated from https://github.com/dotnet/coreclr/commit/eefe7a195cd1e36b9b0d16761b711061b5f3705f

7 years agoFix assert
Bruce Forstall [Tue, 2 May 2017 06:52:12 +0000 (23:52 -0700)]
Fix assert

Commit migrated from https://github.com/dotnet/coreclr/commit/942c5ac3bb1f73f2262dd828c74faf59b932f88a

7 years agoFix rgTail corruption in rare scavenging cases [Desktop port]. (dotnet/coreclr#11327)
Aditya Mandaleeka [Tue, 2 May 2017 05:03:25 +0000 (22:03 -0700)]
Fix rgTail corruption in rare scavenging cases [Desktop port]. (dotnet/coreclr#11327)

Commit migrated from https://github.com/dotnet/coreclr/commit/363206f312a73bbf6c2093d78acad58c060ca0c7

7 years agoPartial revert "Move a few more files to shared CoreLib partition" (dotnet/coreclr...
Jan Kotas [Tue, 2 May 2017 03:10:26 +0000 (20:10 -0700)]
Partial revert "Move a few more files to shared CoreLib partition" (dotnet/coreclr#11328)

Revert change from Hashtable to Dictionary

Commit migrated from https://github.com/dotnet/coreclr/commit/9501a3b59923bf9c1fea780dc97a342692a8c2ea

7 years agoFormatting
Bruce Forstall [Tue, 2 May 2017 01:50:16 +0000 (18:50 -0700)]
Formatting

Commit migrated from https://github.com/dotnet/coreclr/commit/121da5fd07ca2034cef5e6f73d65901039cd79c6

7 years agoRefactor GT_NEG/GT_NOT
Bruce Forstall [Tue, 2 May 2017 01:49:13 +0000 (18:49 -0700)]
Refactor GT_NEG/GT_NOT

Commit migrated from https://github.com/dotnet/coreclr/commit/0c9f07fffb14476d904e0fad3bbfec8071c4ad4d

7 years agoRefactor compares
Bruce Forstall [Tue, 2 May 2017 01:35:27 +0000 (18:35 -0700)]
Refactor compares

Commit migrated from https://github.com/dotnet/coreclr/commit/3bb29c3765f23911c3fefc072a11b3bc45a9fd77

7 years agoRefactor GT_PUTARG_REG
Bruce Forstall [Tue, 2 May 2017 01:19:46 +0000 (18:19 -0700)]
Refactor GT_PUTARG_REG

Commit migrated from https://github.com/dotnet/coreclr/commit/eb7ba2c82eebf6f2d3326b1e95acd6b2e1bd64f8

7 years agoRefactor GT_SWAP
Bruce Forstall [Tue, 2 May 2017 01:10:23 +0000 (18:10 -0700)]
Refactor GT_SWAP

Commit migrated from https://github.com/dotnet/coreclr/commit/5c3d453277d2ecd7954de1c0e613b20639ba4b4b

7 years agoRefactor GT_RETURNTRAP
Bruce Forstall [Tue, 2 May 2017 00:59:38 +0000 (17:59 -0700)]
Refactor GT_RETURNTRAP

Commit migrated from https://github.com/dotnet/coreclr/commit/9dd6896c63be093b785014ace188d7c1927be7de

7 years agoRefactor GT_STOREIND
Bruce Forstall [Tue, 2 May 2017 00:49:21 +0000 (17:49 -0700)]
Refactor GT_STOREIND

Commit migrated from https://github.com/dotnet/coreclr/commit/ab0582bd7c6666e7889f062a9584d7ecf788a883

7 years agoRefactor GT_LCL_VAR and GT_STORE_LCL_VAR
Bruce Forstall [Tue, 2 May 2017 00:32:15 +0000 (17:32 -0700)]
Refactor GT_LCL_VAR and GT_STORE_LCL_VAR

Commit migrated from https://github.com/dotnet/coreclr/commit/e316b4ae0829fd75c225effe77934ef0d614158e

7 years agoRefactor GT_STORE_LCL_FLD
Bruce Forstall [Tue, 2 May 2017 00:06:55 +0000 (17:06 -0700)]
Refactor GT_STORE_LCL_FLD

Commit migrated from https://github.com/dotnet/coreclr/commit/5a8bec34ae8b8679ce03134cfed4ee35d120dead

7 years agoRefactor ARM/ARM64 GT_LCL_FLD codegen
Bruce Forstall [Mon, 1 May 2017 23:48:28 +0000 (16:48 -0700)]
Refactor ARM/ARM64 GT_LCL_FLD codegen

Commit migrated from https://github.com/dotnet/coreclr/commit/c882f9c1242cdc9db7ba95075cf8fbdd5fbee3ac

7 years agoMerge pull request dotnet/coreclr#11323 from dotnet-bot/master-UpdateDependencies
Wes Haggard [Mon, 1 May 2017 22:37:14 +0000 (15:37 -0700)]
Merge pull request dotnet/coreclr#11323 from dotnet-bot/master-UpdateDependencies

Update CoreClr to preview2-25301-03 (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/1969aa224e70a697d1622f7830df7b894b703189

7 years agoMerge pull request dotnet/coreclr#11067 from sjsinju/model_kill_set
Bruce Forstall [Mon, 1 May 2017 21:12:19 +0000 (14:12 -0700)]
Merge pull request dotnet/coreclr#11067 from sjsinju/model_kill_set

[WIP][RyuJIT/ARM32] Implement the model kill for CORINFO_HELP_ASSGN_BYREF helper

Commit migrated from https://github.com/dotnet/coreclr/commit/f891a8ee019af67e4521b1d46ae02716eba943da

7 years agoUpdate CoreClr to preview2-25301-03
dotnet-bot [Mon, 1 May 2017 21:03:47 +0000 (21:03 +0000)]
Update CoreClr to preview2-25301-03

Commit migrated from https://github.com/dotnet/coreclr/commit/b2d4864dd998af8f9467c16cbcadf008942491a9

7 years agoMerge pull request dotnet/coreclr#11304 from pgavlin/GH11273
Pat Gavlin [Mon, 1 May 2017 19:31:25 +0000 (12:31 -0700)]
Merge pull request dotnet/coreclr#11304 from pgavlin/GH11273

Fix dotnet/coreclr#11273 by adjusting the fix for VSO 406163.

Commit migrated from https://github.com/dotnet/coreclr/commit/4a860230bd709a3bec1262156d5efe8e992c3e6f

7 years agoMove a few more files to shared CoreLib partition
Jan Kotas [Sun, 16 Apr 2017 22:14:48 +0000 (15:14 -0700)]
Move a few more files to shared CoreLib partition

Commit migrated from https://github.com/dotnet/coreclr/commit/b11928aa219f3caded8ba39a946cf4bec9b7b5ed

7 years ago[ARM] Update rootfs for Tizen armel (dotnet/coreclr#11202)
Hyung-Kyu Choi [Mon, 1 May 2017 19:00:01 +0000 (04:00 +0900)]
[ARM] Update rootfs for Tizen armel (dotnet/coreclr#11202)

* [ARM] Update cross rootfs for armel Tizen

Update cross rootfs for armel Tizen

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
* [ARM] Update cmake file and CI for armel Tizen

Update CI and cmake file for armel Tizen, because rootfs for Tizen is updated.
And rootfs for Tizen is embedded in Docker image for CI as Ubuntu for arm does.

Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/a23cd5287f9be53f47c78cf99dfc114518a506d0

7 years agoFix current publish build warnings (dotnet/coreclr#11317)
Davis Goodin [Mon, 1 May 2017 18:35:13 +0000 (13:35 -0500)]
Fix current publish build warnings (dotnet/coreclr#11317)

* Make VSTS Drop metadata distinct

* Remove PublishLogs artifact publish: no matches

Commit migrated from https://github.com/dotnet/coreclr/commit/e695a6df23ebd73c0b397fb8057175ef928ddd36

7 years agoMerge pull request dotnet/coreclr#11309 from dotnet-bot/master-UpdateDependencies
William Godbe [Mon, 1 May 2017 17:49:46 +0000 (10:49 -0700)]
Merge pull request dotnet/coreclr#11309 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to preview2-25301-01, preview2-25301-02, respectively (master)

Commit migrated from https://github.com/dotnet/coreclr/commit/1b049e4aa79941cc994cfcf2beec3ed9ad883193

7 years agoFetch secondary handle only if primary is non-null
Jan Kotas [Sat, 29 Apr 2017 14:43:23 +0000 (07:43 -0700)]
Fetch secondary handle only if primary is non-null

The GC is not tracking the secondary handle once primary gets cleared.

Fixes dotnet/coreclr#11270

Commit migrated from https://github.com/dotnet/coreclr/commit/d9b076c50a6781418a01c1baa166cba0ab15e229

7 years agoAvoid unnecessary out arguments in DependentHandle FCalls
Jan Kotas [Fri, 28 Apr 2017 01:28:34 +0000 (18:28 -0700)]
Avoid unnecessary out arguments in DependentHandle FCalls

Make the signatures closer to what they are in CoreRT

Commit migrated from https://github.com/dotnet/coreclr/commit/f8b5fc2b225d4cad2d38388e99dd8578a426924c

7 years agoMerge pull request dotnet/coreclr#11262 from pgavlin/NoCompatJit
Pat Gavlin [Mon, 1 May 2017 17:21:28 +0000 (10:21 -0700)]
Merge pull request dotnet/coreclr#11262 from pgavlin/NoCompatJit

Remove support for the x86 compat JIT from .NET Core.

Commit migrated from https://github.com/dotnet/coreclr/commit/dd4d0dad2cb9485518056cab7ec75949db082805

7 years agoFormat code and fix a comment.
Pat Gavlin [Mon, 1 May 2017 17:14:48 +0000 (10:14 -0700)]
Format code and fix a comment.

Commit migrated from https://github.com/dotnet/coreclr/commit/6376081c1293a7df4a2a4f24c8b7d3739c8ba40d

7 years agoAdd symbol publish (index/archive) build leg (dotnet/coreclr#11300)
Davis Goodin [Mon, 1 May 2017 14:54:03 +0000 (09:54 -0500)]
Add symbol publish (index/archive) build leg (dotnet/coreclr#11300)

* Add symbol publish (index/archive) build leg

* Use BuildType property name in symbol publish leg

Commit migrated from https://github.com/dotnet/coreclr/commit/bbe8c52597930064df679edbe78c4430fb7dbe60

7 years agoMerge pull request dotnet/coreclr#11275 from CarolEidt/Fix11141
Carol Eidt [Mon, 1 May 2017 14:47:50 +0000 (07:47 -0700)]
Merge pull request dotnet/coreclr#11275 from CarolEidt/Fix11141

Avoid over-constrained delayed-use register case

Commit migrated from https://github.com/dotnet/coreclr/commit/6388926485abd7ae8a95eb058aec22f4fbf670ca

7 years agoUpdate CoreClr, CoreFx to preview2-25301-01, preview2-25301-02, respectively
dotnet-bot [Mon, 1 May 2017 14:10:46 +0000 (14:10 +0000)]
Update CoreClr, CoreFx to preview2-25301-01, preview2-25301-02, respectively

Commit migrated from https://github.com/dotnet/coreclr/commit/362d109d850977249fed06fdb6d9c94708a48ee6

7 years agoRename internal field of primitive type structs and make it private (dotnet/coreclr...
Jan Kotas [Mon, 1 May 2017 05:52:25 +0000 (22:52 -0700)]
Rename internal field of primitive type structs and make it private (dotnet/coreclr#11312)

Reduce diffs with CoreRT and conform to coding conventions

Commit migrated from https://github.com/dotnet/coreclr/commit/0310a1e18c3322b0f1e582583f6597094e6da1cb

7 years agoMerge pull request dotnet/coreclr#11297 from DrewScoggins/AddPerfRunInstr
Drew Scoggins [Sat, 29 Apr 2017 22:03:00 +0000 (07:03 +0900)]
Merge pull request dotnet/coreclr#11297 from DrewScoggins/AddPerfRunInstr

Add instructions for running local perf tests

Commit migrated from https://github.com/dotnet/coreclr/commit/45891ce854bb0b1ca9568669e23ba23255dae000

7 years agoMerge pull request dotnet/coreclr#11272 from wtgodbe/CrossgenMove
William Godbe [Sat, 29 Apr 2017 20:58:30 +0000 (13:58 -0700)]
Merge pull request dotnet/coreclr#11272 from wtgodbe/CrossgenMove

Ensure we run the Crossgened test executable in R2R tests

Commit migrated from https://github.com/dotnet/coreclr/commit/a60bc9f6a913d4ee17a0a66ebff4a38c856c7bdc

7 years agoBring back Marshal.Read/Write overloads that takes object (dotnet/coreclr#11251)
Yi Zhang (CLR) [Sat, 29 Apr 2017 16:51:03 +0000 (09:51 -0700)]
Bring back Marshal.Read/Write overloads that takes object (dotnet/coreclr#11251)

* Bring back desktop version of Marshal.Read/Write APIs that takes object and add a test

Commit migrated from https://github.com/dotnet/coreclr/commit/88779dc83763dc199ad1666282316d393473609d

7 years agoUpdate CoreClr to preview2-25229-01 (dotnet/coreclr#11303)
dotnet bot [Sat, 29 Apr 2017 06:08:49 +0000 (23:08 -0700)]
Update CoreClr to preview2-25229-01 (dotnet/coreclr#11303)

Commit migrated from https://github.com/dotnet/coreclr/commit/bd0a833845cc334eaf06d95329d00f9c4cb067b2

7 years agoUpdate runtest.sh
William Godbe [Sat, 29 Apr 2017 01:54:48 +0000 (18:54 -0700)]
Update runtest.sh

Update if statement

Commit migrated from https://github.com/dotnet/coreclr/commit/149d48812c8be8fcc14c7c211a9977d67e221dcb

7 years agoFix dotnet/coreclr#11273 by adjusting the fix for VSO 406163.
Pat Gavlin [Fri, 28 Apr 2017 23:31:25 +0000 (16:31 -0700)]
Fix dotnet/coreclr#11273 by adjusting the fix for VSO 406163.

Issue dotnet/coreclr#11273 revealed an issue with the fix for VSO 406163: as of today,
the compiler models the incoming exception object in a handler by
looking for `GT_CATCH_ARG` in the first block of a handler and if found
marking the register that contains the exception object as holding a GC
pointer. Unfortunately, this breaks down under the transform that the
original fix (dotnet/coreclr#11134) was performing for single-block filters. That
transformation was from this:

```
    filter start: BBN (BBJ_EHFILTERRET)
```

to this:

```
    filter start: BBN + 1 (BBJ_ALWAYS -> BBN)
                  BBN + 2 (jumpKind)
                  BBN     (BBJ_EHFILTERRET)
```

After this transform, `BBN` still contains the `GT_CATCH_ARG`, but the
register containing the exception object must be live through `BBN + 1`
as well as live in to `BBN`.

There are a number of possible solutions to this problem (e.g. modeling
the liveness of the exception object in some fashion or splitting the
single-block filter either after the catch arg or before the filter
ret), but many of them are complicated by the fact that this
transformation needs to operate on both HIR and LIR and must be be able
to run in a variety of locations, including after registers have been
allocated. Instead, this change takes the approach of ensuring that no
single-block filter regions exist on platforms that target the JIT32 GC
encoder by inserting a spill of the exception object to a local var in
its own block at the start of a filter.

Commit migrated from https://github.com/dotnet/coreclr/commit/cf0e382bd7b235d6cae0204d3a11850d4d95df44

7 years agoEnsure we run the Crossgened test executable in R2R tests
wtgodbe [Thu, 27 Apr 2017 22:40:23 +0000 (15:40 -0700)]
Ensure we run the Crossgened test executable in R2R tests

Commit migrated from https://github.com/dotnet/coreclr/commit/2dd21f2fcee8eb7d1978b59b87e6d7cdc3b6bb83

7 years agoCorrectly enumerate loaded assemblies in AppDomain (dotnet/coreclr#11294)
Gaurav Khanna [Fri, 28 Apr 2017 23:06:54 +0000 (16:06 -0700)]
Correctly enumerate loaded assemblies in AppDomain (dotnet/coreclr#11294)

* Correctly enumerate loaded assemblies in AppDomain

* Remove unrequired attribute

Commit migrated from https://github.com/dotnet/coreclr/commit/b38113c80d04c39890207d149bf0359a86711d62

7 years agoFix typo
Drew Scoggins [Fri, 28 Apr 2017 22:56:36 +0000 (15:56 -0700)]
Fix typo

Commit migrated from https://github.com/dotnet/coreclr/commit/fe60f938c8dc8fd0f57e0b60dcb8e27bc61bc617

7 years agoAdd instructions for running local perf tests
Drew Scoggins [Fri, 28 Apr 2017 18:45:01 +0000 (11:45 -0700)]
Add instructions for running local perf tests

Commit migrated from https://github.com/dotnet/coreclr/commit/613445128b43651ee30563b7913f431feb891b7f

7 years agoUpdate CoreClr, CoreFx to preview2-25228-02, preview2-25228-02, respectively (dotnet...
dotnet bot [Fri, 28 Apr 2017 19:50:38 +0000 (12:50 -0700)]
Update CoreClr, CoreFx to preview2-25228-02, preview2-25228-02, respectively (dotnet/coreclr#11283)

Commit migrated from https://github.com/dotnet/coreclr/commit/68a9cf4cdc39eea027b01ccbc98531503590a6e3

7 years agoEnable interpreter build (dotnet/coreclr#11252)
Jonghyun Park [Fri, 28 Apr 2017 18:08:36 +0000 (03:08 +0900)]
Enable interpreter build (dotnet/coreclr#11252)

Enable FEATURE_INTERPRETER build

Commit migrated from https://github.com/dotnet/coreclr/commit/12d18da45492e5b48991b1d0dcf3bfbea5136944

7 years agoMerge pull request dotnet/coreclr#11268 from sdmaclea/PR-ARM64-two-gc-attributes
Brian Sullivan [Fri, 28 Apr 2017 17:57:50 +0000 (10:57 -0700)]
Merge pull request dotnet/coreclr#11268 from sdmaclea/PR-ARM64-two-gc-attributes

[Arm64] Support two GC attributes in pair forms

Commit migrated from https://github.com/dotnet/coreclr/commit/aabe04b262546c93421a7e0164c4f0f4aaeedbf3

7 years agoAvoid over-constrained delayed-use register case
Carol Eidt [Thu, 27 Apr 2017 22:28:17 +0000 (15:28 -0700)]
Avoid over-constrained delayed-use register case

When a node has a delayed-use register (either due to an RMW def or due to an internalRegDelayFree),
if its result has a fixed-use, don't propagate the register constraint to the def, because there's
no associated fixed-reference to ensure that it will not be used by the delay-free register.

Fix dotnet/coreclr#11141

Commit migrated from https://github.com/dotnet/coreclr/commit/df3c59c17507f0bb602c2e352a9ca549edaaac49

7 years agoFix R2R issue with virtual method resolving to non-generic base (dotnet/coreclr#11289)
Yi Zhang (CLR) [Fri, 28 Apr 2017 15:41:29 +0000 (08:41 -0700)]
Fix R2R issue with virtual method resolving to non-generic base (dotnet/coreclr#11289)

Commit migrated from https://github.com/dotnet/coreclr/commit/6bfd4789a274c92f7839796f9ba7acfa1cc1e634

7 years agoMerge pull request dotnet/corertdotnet/coreclr#3446 from jkotas/nmirror-merge
Jan Kotas [Thu, 27 Apr 2017 23:47:53 +0000 (16:47 -0700)]
Merge pull request dotnet/corertdotnet/coreclr#3446 from jkotas/nmirror-merge

Merge nmirror to master

Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/f3ab5c1b60559a742da1d3487bb6a0942c5903ed

7 years agoAdd assert
Steve MacLean [Fri, 28 Apr 2017 02:08:48 +0000 (22:08 -0400)]
Add assert

Commit migrated from https://github.com/dotnet/coreclr/commit/136b32f6b7148b9d8541cfd5f3ed0d7e141fd32b

7 years agoRemove comment
Steve MacLean [Fri, 28 Apr 2017 02:03:49 +0000 (22:03 -0400)]
Remove comment

Commit migrated from https://github.com/dotnet/coreclr/commit/8df1748f28dab626ec40eaab9801053743b150cc

7 years agoUpdate CoreClr, CoreFx to preview2-25227-03, preview2-25227-02, respectively (dotnet...
dotnet bot [Fri, 28 Apr 2017 01:26:02 +0000 (18:26 -0700)]
Update CoreClr, CoreFx to preview2-25227-03, preview2-25227-02, respectively (dotnet/coreclr#11249)

Commit migrated from https://github.com/dotnet/coreclr/commit/5951c7231e226e8275a1f4ddc646d21fee53403e

7 years agoFix lsra memory consumption (dotnet/coreclr#11233)
Sergey Andreenko [Fri, 28 Apr 2017 01:06:34 +0000 (18:06 -0700)]
Fix lsra memory consumption (dotnet/coreclr#11233)

* Rename ClearD to OldStyleClearD

* create fast ClearD function.

The new ClearD reuses existing buffer and assumes that epoch wasn't
changed.

* Reuse existing buffer for the predSet in lsra.

* Use fast ClearD in LSRA.

* Use fast ClearD in liveness

* Fix the comment

* delete the test from issues

Commit migrated from https://github.com/dotnet/coreclr/commit/70014f8863209853a29d010219e36b7eae2d4cd8

7 years agoFix issues exposed by building with MSVC and /permissive-. (dotnet/coreclr#11269)
Xiang Fan [Thu, 27 Apr 2017 23:48:13 +0000 (16:48 -0700)]
Fix issues exposed by building with MSVC and /permissive-. (dotnet/coreclr#11269)

Using full-qualified name to declare members inside class is ill-formed and incorrectly allowed by MSVC.
MSVC now gives error when /permissive- is used.

Commit migrated from https://github.com/dotnet/coreclr/commit/e60e06f9b65d3fafdd6fd78900315d765ef3c91e

7 years agoEnable R2R jitstress jobs for x86
Russ Keldorph [Thu, 27 Apr 2017 22:25:59 +0000 (15:25 -0700)]
Enable R2R jitstress jobs for x86

Commit migrated from https://github.com/dotnet/coreclr/commit/0b13484864faca10ff925bd0765d42089d8ed9c4

7 years agoAllow conversions between enum and underlying type
Jan Kotas [Thu, 27 Apr 2017 20:49:10 +0000 (13:49 -0700)]
Allow conversions between enum and underlying type

Fixes https://github.com/dotnet/corefx/issues/13816

Commit migrated from https://github.com/dotnet/coreclr/commit/24df2436dfb8cfdbca7d3f9e088234a7c303e6fa

7 years agoDisallow conversions between Object* and Object in Array.Copy
Jan Kotas [Thu, 27 Apr 2017 20:48:16 +0000 (13:48 -0700)]
Disallow conversions between Object* and Object in Array.Copy

Fixes https://github.com/dotnet/coreclr/issues/10646

Commit migrated from https://github.com/dotnet/coreclr/commit/7c57f98183491e431ac3913d5d4b70ea82886c0a

7 years agoUnify fetching LoadContext for Dynamic Assemblies (dotnet/coreclr#11264)
Gaurav Khanna [Thu, 27 Apr 2017 22:36:24 +0000 (15:36 -0700)]
Unify fetching LoadContext for Dynamic Assemblies (dotnet/coreclr#11264)

Commit migrated from https://github.com/dotnet/coreclr/commit/d2c5fed03744206122b074a766adaa82634d17ba

7 years agoRemove support for the x86 compat JIT from .NET Core.
Pat Gavlin [Wed, 26 Apr 2017 23:01:52 +0000 (16:01 -0700)]
Remove support for the x86 compat JIT from .NET Core.

These changes remove support for the x86 compat JIT from the build, the
runtime, and the various perf/test scripts.

Fixes dotnet/coreclr#10733, dotnet/coreclr#10734.

Commit migrated from https://github.com/dotnet/coreclr/commit/abd76724643106cfdbd7b6ae80f1551a6d6db511

7 years ago[Arm64] Use ldp for mismatched GC types in genPutArgStk
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Thu, 27 Apr 2017 19:20:21 +0000 (19:20 +0000)]
[Arm64] Use ldp for mismatched GC types in genPutArgStk

Commit migrated from https://github.com/dotnet/coreclr/commit/2d7edf2eb07b04f8839b676c045efb62d986ec41

7 years ago[Arm64] Support two GC attributes in pair forms
Steve MacLean, Qualcomm Datacenter Technologies, Inc [Thu, 27 Apr 2017 19:15:16 +0000 (19:15 +0000)]
[Arm64] Support two GC attributes in pair forms

Also use in genCodeForCpObj

Commit migrated from https://github.com/dotnet/coreclr/commit/08832cddfae3f930ea0c9ab43e24f17a5b2fb02d

7 years ago[Arm64] Clean up genPutArgStk (dotnet/coreclr#11239)
Steve MacLean [Thu, 27 Apr 2017 21:32:29 +0000 (17:32 -0400)]
[Arm64] Clean up genPutArgStk (dotnet/coreclr#11239)

* [Arm64] Clean up genPutArgStk

Use ldp/stp in more case
Simplify code by eliminating most addrReg conflict cases

* Fix formatting

Commit migrated from https://github.com/dotnet/coreclr/commit/b9dcd7a02db0881c63686f52700902e5ca5ced14

7 years agoTurn on unwind information at informational level rather than Info level. (dotnet...
Vance Morrison [Thu, 27 Apr 2017 19:43:38 +0000 (12:43 -0700)]
Turn on unwind information at informational level rather than Info level. (dotnet/coreclr#11257)

This is bascically a bug fix.   Quite a while ago we wanted to be able to collect stacks (which needed JIT names, and unwind information)
without collecting all verbose CLR events (in particular the GC allocation Tick events).   We did this in most places but missed this one.

Commit migrated from https://github.com/dotnet/coreclr/commit/8d31b488487a7a3f633ad39d19a684cb1d72a87e

7 years agoRemove unused TreeNodeInfo::isHelperCallWithKills field (dotnet/coreclr#11259)
Bruce Forstall [Thu, 27 Apr 2017 19:41:43 +0000 (12:41 -0700)]
Remove unused TreeNodeInfo::isHelperCallWithKills field (dotnet/coreclr#11259)

Remove unused TreeNodeInfo::isHelperCallWithKills field

Commit migrated from https://github.com/dotnet/coreclr/commit/a07569230a248b5c927ef713863db17ffae44f16

7 years agoMerge pull request dotnet/coreclr#11224 from parjong/fix/arm_unaligned_ldobj
Bruce Forstall [Thu, 27 Apr 2017 18:21:27 +0000 (11:21 -0700)]
Merge pull request dotnet/coreclr#11224 from parjong/fix/arm_unaligned_ldobj

[ARM/Linux] Honor unaligned prefix for ldobj instruction

Commit migrated from https://github.com/dotnet/coreclr/commit/58b0918464bc68345371e81df0cbac07bafb8058

7 years ago[WIP] Enable binding to CoreLib as NI image (dotnet/coreclr#11040)
Gaurav Khanna [Thu, 27 Apr 2017 17:46:47 +0000 (10:46 -0700)]
[WIP] Enable binding to CoreLib as NI image (dotnet/coreclr#11040)

Enable binding to CoreLib as NI image

Commit migrated from https://github.com/dotnet/coreclr/commit/c983bb86ddf46916206efc7cd5bc942ec8b834cb

7 years agoMerge pull request dotnet/coreclr#11255 from mskvortsov/FixPutArgReg
Bruce Forstall [Thu, 27 Apr 2017 17:45:36 +0000 (10:45 -0700)]
Merge pull request dotnet/coreclr#11255 from mskvortsov/FixPutArgReg

[RyuJIT/ARM32] Update putarg_reg codegen

Commit migrated from https://github.com/dotnet/coreclr/commit/368ee30f34fda812d8d936dff4d59b91270453c1

7 years agoMerge pull request dotnet/coreclr#11258 from mskvortsov/FixConsumeReporting
Bruce Forstall [Thu, 27 Apr 2017 17:19:10 +0000 (10:19 -0700)]
Merge pull request dotnet/coreclr#11258 from mskvortsov/FixConsumeReporting

Do not report out-of-order consuming if a node wasn't consumed at all

Commit migrated from https://github.com/dotnet/coreclr/commit/beda361f505e8607ca05fea0bee61e21177ef23b

7 years agoFix a double-free encountered when failing to initialize a handle table bucket (dotne...
Sean Gillespie [Thu, 27 Apr 2017 17:09:32 +0000 (10:09 -0700)]
Fix a double-free encountered when failing to initialize a handle table bucket (dotnet/coreclr#11244)

* Fix a double-free encountered when failing to initialize a handle table bucket

* Don't free m_bucket in the destructor of HandleTableBucketHolder

Commit migrated from https://github.com/dotnet/coreclr/commit/b06509c4f35212f097345bba7404b47da86b96c5

7 years agoFix unittest `LPSTRTest` (dotnet/coreclr#11096)
Hanjoung Lee [Thu, 27 Apr 2017 16:39:47 +0000 (01:39 +0900)]
Fix unittest `LPSTRTest` (dotnet/coreclr#11096)

* Fix unittest `LPSTRTest`

The test case Interop.StringMarshalling.LPSTR.LPSTRTest
always returned exit code 100(pass) even if it actually failed.
This implements `ExitTest()` in the same manner with `LPTSTRTest`.

* Fix unittest `LPSTRTest` native

Commit migrated from https://github.com/dotnet/coreclr/commit/8291db8bdb49768a7620a98865ad642d639c9c87

7 years agoMerge pull request dotnet/coreclr#11219 from sdmaclea/PR-ARM64-CpObj-Use-LDP-STP
Brian Sullivan [Thu, 27 Apr 2017 15:53:42 +0000 (08:53 -0700)]
Merge pull request dotnet/coreclr#11219 from sdmaclea/PR-ARM64-CpObj-Use-LDP-STP

[Arm64] Use ldp/stp in genCodeForCpObj()

Commit migrated from https://github.com/dotnet/coreclr/commit/40e18d32b9f1119aecef9afe8978692c1d08ab43

7 years agoMerge pull request dotnet/coreclr#11243 from sdmaclea/PR-ARM64-LDP-ALLOW-GCREFS
Brian Sullivan [Thu, 27 Apr 2017 15:51:39 +0000 (08:51 -0700)]
Merge pull request dotnet/coreclr#11243 from sdmaclea/PR-ARM64-LDP-ALLOW-GCREFS

[Arm64] Update emitOutputInstr to support GC refs in ldp forms

Commit migrated from https://github.com/dotnet/coreclr/commit/e9c37a664941b5d8b97ba5dab85bf132578ed916

7 years agoDo not report out-of-order consuming if node wasn't consumed at all
Mikhail Skvortcov [Thu, 27 Apr 2017 14:53:53 +0000 (17:53 +0300)]
Do not report out-of-order consuming if node wasn't consumed at all

Commit migrated from https://github.com/dotnet/coreclr/commit/c3bb00cd7baebf787c1722c5fc99ca1aea28c4ea

7 years ago[x86/Linux] Disable USE_CALLER_SP_IN_FUNCLET in EH (dotnet/coreclr#11247)
Jonghyun Park [Thu, 27 Apr 2017 14:50:39 +0000 (23:50 +0900)]
[x86/Linux] Disable USE_CALLER_SP_IN_FUNCLET in EH (dotnet/coreclr#11247)

Commit migrated from https://github.com/dotnet/coreclr/commit/5c8a5a3d53f75b05fee15925e7a99843008765c9