platform/upstream/dotnet/runtime.git
7 years agoRyuJIT/x86: handle must-init multi-reg vars
Carol Eidt [Wed, 19 Oct 2016 18:28:22 +0000 (11:28 -0700)]
RyuJIT/x86: handle must-init multi-reg vars

In the RyuJIT backend, lclVars can occupy multiple registers, and not have a stack location. These should be handled for must-init as for lvRegister. The existing code was doing this oinly for _TARGET_64_BIT_ when it should be !LEGACY_BACKEND.
This fixes DevDiv VSO bug 278372

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

7 years agoMerge pull request dotnet/coreclr#6613 from wtgodbe/packagebuilds
William Godbe [Mon, 17 Oct 2016 20:49:55 +0000 (13:49 -0700)]
Merge pull request dotnet/coreclr#6613 from wtgodbe/packagebuilds

Use packages.builds when generating nuget packages

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

7 years agoAdd missing ns2.0 InteropServices apis to model.xml (dotnet/coreclr#7606)
Alex Perovich [Mon, 17 Oct 2016 19:46:43 +0000 (12:46 -0700)]
Add missing ns2.0 InteropServices apis to model.xml (dotnet/coreclr#7606)

* Add missing ns2.0 InteropServices apis to model.xml

* Remove RuntimeEnvironment

* Remove functions that need vm changes.

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

7 years agoFix broken #elif (dotnet/coreclr#7656)
Dmitry-Me [Mon, 17 Oct 2016 16:56:37 +0000 (19:56 +0300)]
Fix broken #elif (dotnet/coreclr#7656)

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

7 years agoMerge pull request dotnet/coreclr#7639 from gkhanna79/ArmChkCIRemoval
Gaurav Khanna [Mon, 17 Oct 2016 16:55:29 +0000 (09:55 -0700)]
Merge pull request dotnet/coreclr#7639 from gkhanna79/ArmChkCIRemoval

Only run Debug and Release WinArm32 PR Builds

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

7 years agoAdd missing ApplicationException derivations (dotnet/coreclr#7647)
Dan Moseley [Mon, 17 Oct 2016 16:16:54 +0000 (09:16 -0700)]
Add missing ApplicationException derivations (dotnet/coreclr#7647)

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

7 years agoDon't return pointer to already deleted object (dotnet/coreclr#3483)
Dmitry-Me [Mon, 17 Oct 2016 04:05:11 +0000 (07:05 +0300)]
Don't return pointer to already deleted object (dotnet/coreclr#3483)

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

7 years agoFix dotnet/coreclr#7391: Test for DateTime string parsing (dotnet/coreclr#7475)
Hyeongseok Oh [Mon, 17 Oct 2016 04:03:58 +0000 (13:03 +0900)]
Fix dotnet/coreclr#7391: Test for DateTime string parsing (dotnet/coreclr#7475)

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

7 years agoMerge pull request dotnet/coreclr#7340 from russellhadley/MoveCSEtoBitVec
Russell C Hadley [Mon, 17 Oct 2016 02:35:54 +0000 (19:35 -0700)]
Merge pull request dotnet/coreclr#7340 from russellhadley/MoveCSEtoBitVec

Add code to switch to BitVec data structure in CSE optimization.

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

7 years agoSkip generating CI job for WinArm32 Checked
Gaurav Khanna [Sun, 16 Oct 2016 22:07:20 +0000 (15:07 -0700)]
Skip generating CI job for WinArm32 Checked

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

7 years agoMerge pull request dotnet/coreclr#1965 from lasombra/patch-1
Gaurav Khanna [Sun, 16 Oct 2016 15:37:28 +0000 (08:37 -0700)]
Merge pull request dotnet/coreclr#1965 from lasombra/patch-1

Update linux-instructions.md

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

7 years agoMerge pull request dotnet/coreclr#7640 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Sun, 16 Oct 2016 15:35:42 +0000 (08:35 -0700)]
Merge pull request dotnet/coreclr#7640 from dotnet-bot/master-UpdateDependencies

Update CoreClr, External to beta-24616-02, beta-24616-00, respectively (master)

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

7 years agoUpdate linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:30:24 +0000 (13:30 +0100)]
Update linux-instructions.md

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

7 years agoUpdate linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:17:20 +0000 (13:17 +0100)]
Update linux-instructions.md

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

7 years agoUpdate linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:13:14 +0000 (13:13 +0100)]
Update linux-instructions.md

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

7 years agoUpdate linux-instructions.md
LaSombra [Sun, 16 Oct 2016 12:12:10 +0000 (13:12 +0100)]
Update linux-instructions.md

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

7 years agoUpdate CoreClr, External to beta-24616-02, beta-24616-00, respectively
dotnet-bot [Sun, 16 Oct 2016 08:25:58 +0000 (08:25 +0000)]
Update CoreClr, External to beta-24616-02, beta-24616-00, respectively

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

7 years agoOnly run Debug and Release WinArm32 PR Builds
Gaurav Khanna [Sun, 16 Oct 2016 03:57:00 +0000 (20:57 -0700)]
Only run Debug and Release WinArm32 PR Builds

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

7 years agoMerge pull request dotnet/coreclr#7630 from dotnet-bot/master-UpdateDependencies
Stephen Toub [Sun, 16 Oct 2016 02:27:55 +0000 (22:27 -0400)]
Merge pull request dotnet/coreclr#7630 from dotnet-bot/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively (master)

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

7 years agoMerge pull request dotnet/coreclr#7632 from dotnet/revert-7213-revert-7123-WinArm32CI
Gaurav Khanna [Sun, 16 Oct 2016 01:52:00 +0000 (18:52 -0700)]
Merge pull request dotnet/coreclr#7632 from dotnet/revert-7213-revert-7123-WinArm32CI

Re-Enable Win32Arm CI support

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

7 years agoUpdate CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively
dotnet-bot [Sun, 16 Oct 2016 00:21:39 +0000 (00:21 +0000)]
Update CoreClr, CoreFx to beta-24616-01, beta-24615-03, respectively

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

7 years agoMerge pull request dotnet/coreclr#7637 from gkhanna79/FixArm32Build
Gaurav Khanna [Sun, 16 Oct 2016 00:14:21 +0000 (17:14 -0700)]
Merge pull request dotnet/coreclr#7637 from gkhanna79/FixArm32Build

Few more fixes for WinArm32 CI build.

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

7 years agoFew more fixes for WinArm32 CI build.
Gaurav Khanna [Sat, 15 Oct 2016 21:06:23 +0000 (14:06 -0700)]
Few more fixes for WinArm32 CI build.

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

7 years agoString.SplitInternal: Remove unnecessary stackalloc (dotnet/coreclr#7623)
Justin Van Patten [Sat, 15 Oct 2016 09:58:59 +0000 (02:58 -0700)]
String.SplitInternal: Remove unnecessary stackalloc (dotnet/coreclr#7623)

Simply take the address of the `char` instead of stackallocating a
`char[1]`.

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

7 years agoMerge pull request dotnet/coreclr#7633 from ramarag/master
Rama krishnan Raghupathy [Sat, 15 Oct 2016 06:52:15 +0000 (23:52 -0700)]
Merge pull request dotnet/coreclr#7633 from ramarag/master

Exposing Gc.TryStartNoGCRegion

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

7 years agoMerge pull request dotnet/coreclr#7631 from ramarag/Activator
Rama krishnan Raghupathy [Sat, 15 Oct 2016 05:19:39 +0000 (22:19 -0700)]
Merge pull request dotnet/coreclr#7631 from ramarag/Activator

Throwing PlatformNotSupportedException for ActivationAttributes

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

7 years agoRevert "Revert "Enable Win32Arm CI support""
Gaurav Khanna [Sat, 15 Oct 2016 02:27:06 +0000 (19:27 -0700)]
Revert "Revert "Enable Win32Arm CI support""

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

7 years agoMerge pull request dotnet/coreclr#7629 from gkhanna79/FixArmSdkDetection
Gaurav Khanna [Sat, 15 Oct 2016 02:25:38 +0000 (19:25 -0700)]
Merge pull request dotnet/coreclr#7629 from gkhanna79/FixArmSdkDetection

Explicitly specify the Windows SDK version for CMake.

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

7 years agoExposing Gc.TryStartNoGCRegion
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 02:15:10 +0000 (19:15 -0700)]
Exposing Gc.TryStartNoGCRegion

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

7 years agoMerge pull request dotnet/coreclr#7622 from gkhanna79/SimplifyExtVer
Gaurav Khanna [Sat, 15 Oct 2016 02:09:58 +0000 (19:09 -0700)]
Merge pull request dotnet/coreclr#7622 from gkhanna79/SimplifyExtVer

Simplify External Package Versioning.

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

7 years agoThrowing PlatformNotSupportedException for ActivationAttributes
Rama Krishnan Raghupathy [Sat, 15 Oct 2016 01:01:44 +0000 (18:01 -0700)]
Throwing PlatformNotSupportedException for ActivationAttributes

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

7 years agoAllows not to build LLDBPLUGIN (dotnet/coreclr#7390)
Jonghyun Park [Sat, 15 Oct 2016 00:33:33 +0000 (09:33 +0900)]
Allows not to build LLDBPLUGIN (dotnet/coreclr#7390)

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

7 years agoExplicitly specify the Windows SDK version for CMake.
Gaurav Khanna [Sat, 15 Oct 2016 00:03:00 +0000 (17:03 -0700)]
Explicitly specify the Windows SDK version for CMake.

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

7 years agoMerge pull request dotnet/coreclr#7627 from dotnet-bot/from-tfs
Jan Kotas [Sat, 15 Oct 2016 00:02:25 +0000 (17:02 -0700)]
Merge pull request dotnet/coreclr#7627 from dotnet-bot/from-tfs

Merge changes from TFS

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

7 years agoAdd code to switch to bitvec datastructure in cse optimization.
Russell C. Hadley [Fri, 5 Aug 2016 23:07:21 +0000 (16:07 -0700)]
Add code to switch to bitvec datastructure in cse optimization.

This change will allow us to track more than 64 cse candidates.
Initally the data structure is set to the same limits (64) as is
currently used.  This gives us a no diffs.  Subsequent changes
will change these limits based on opportunities found in the benchmarks.

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

7 years agoFix build breaks
Jan Kotas [Fri, 14 Oct 2016 21:44:50 +0000 (14:44 -0700)]
Fix build breaks

[tfs-changeset: 1633395]

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

7 years agoNullReferenceException APIs (dotnet/coreclr#7338)
Sven Boemer [Fri, 14 Oct 2016 21:05:08 +0000 (14:05 -0700)]
NullReferenceException APIs (dotnet/coreclr#7338)

* add typeID APIs
* add variable home API

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

7 years agoMerge pull request dotnet/coreclr#7591 from vancem/ActivitiesForListeners.10-13-16
David Mason [Fri, 14 Oct 2016 19:49:45 +0000 (12:49 -0700)]
Merge pull request dotnet/coreclr#7591 from vancem/ActivitiesForListeners.10-13-16

TFS Bug 274079: Activity Tracking does not work with EventListeners

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

7 years agoUpdate the header string in runtest.sh (dotnet/coreclr#5785)
Jiyoung Giuliana Yun [Fri, 14 Oct 2016 19:02:09 +0000 (04:02 +0900)]
Update the header string in runtest.sh (dotnet/coreclr#5785)

Replace 'bc' with the bash expr.
Add the countTotalTests numbers to headers depends on verbose option.

Fix dotnet/coreclr#5677

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Commit migrated from https://github.com/dotnet/coreclr/commit/6611f1222a7b45d0110e988f16fae5da50b3248a

7 years agoAdd RunBenchmarks.sh for unix-like systems (dotnet/coreclr#6471)
Hanjoung Lee [Fri, 14 Oct 2016 19:00:50 +0000 (04:00 +0900)]
Add RunBenchmarks.sh for unix-like systems (dotnet/coreclr#6471)

Usage is basically the same as RunBenchmarks.cmd.

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

7 years agoMerge pull request dotnet/coreclr#4056 from svick/threadpoolglobals-readonly
Koundinya Veluri [Fri, 14 Oct 2016 18:55:02 +0000 (11:55 -0700)]
Merge pull request dotnet/coreclr#4056 from svick/threadpoolglobals-readonly

Make fields in ThreadPool readonly/const where possible

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

7 years agoEnable RegionInfo netstandard 1.7 APIs (dotnet/coreclr#7604)
Tarek Mahmoud Sayed [Fri, 14 Oct 2016 18:26:52 +0000 (11:26 -0700)]
Enable RegionInfo netstandard 1.7 APIs (dotnet/coreclr#7604)

* Enable RegionInfo netstandard 1.7 APIs

* Fix the typo

* lowercase TRUE and FALSE

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

7 years agoMerge pull request dotnet/coreclr#7580 from benaadams/flag-doesnot-return-early
Andy Ayers [Fri, 14 Oct 2016 18:06:36 +0000 (11:06 -0700)]
Merge pull request dotnet/coreclr#7580 from benaadams/flag-doesnot-return-early

Flag does_not_return early

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

7 years agoMerge pull request dotnet/coreclr#7620 from dotnet-bot/master-UpdateDependencies
Gaurav Khanna [Fri, 14 Oct 2016 18:01:29 +0000 (11:01 -0700)]
Merge pull request dotnet/coreclr#7620 from dotnet-bot/master-UpdateDependencies

Update CoreClr to beta-24614-03 (master)

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

7 years agoFix stable version for external dependency
Gaurav Khanna [Fri, 14 Oct 2016 17:59:54 +0000 (10:59 -0700)]
Fix stable version for external dependency

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

7 years agoSimplify External Dependency versioning
Gaurav Khanna [Fri, 14 Oct 2016 17:56:09 +0000 (10:56 -0700)]
Simplify External Dependency versioning

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

7 years agoChange warning to error for test asset framework issues. (dotnet/coreclr#6535)
Davis Goodin [Fri, 14 Oct 2016 16:58:54 +0000 (11:58 -0500)]
Change warning to error for test asset framework issues. (dotnet/coreclr#6535)

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

7 years agoUpdate CoreClr to beta-24614-03
dotnet-bot [Fri, 14 Oct 2016 16:19:55 +0000 (16:19 +0000)]
Update CoreClr to beta-24614-03

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

7 years agoRemove DEBUGGING_SUPPORT #ifdef (dotnet/coreclr#7611)
Bruce Forstall [Fri, 14 Oct 2016 15:55:25 +0000 (08:55 -0700)]
Remove DEBUGGING_SUPPORT #ifdef (dotnet/coreclr#7611)

This is always on. It hadn't been turned off in a long, long
time, if ever, and we don't expect to ever turn it off.

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

7 years agoUpdate CoreClr, CoreFx, External to beta-24614-02, beta-24614-01, beta-24614-00,...
dotnet bot [Fri, 14 Oct 2016 15:55:03 +0000 (08:55 -0700)]
Update CoreClr, CoreFx, External to beta-24614-02, beta-24614-01, beta-24614-00, respectively (dotnet/coreclr#7615)

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

7 years agoMerge pull request dotnet/coreclr#7616 from dotnet-bot/from-tfs
Jan Kotas [Fri, 14 Oct 2016 15:54:15 +0000 (08:54 -0700)]
Merge pull request dotnet/coreclr#7616 from dotnet-bot/from-tfs

Merge changes from TFS

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

7 years agoSpinLock.TryEnter fail fast for timeout 0 (dotnet/coreclr#6952)
Ben Adams [Fri, 14 Oct 2016 14:19:41 +0000 (15:19 +0100)]
SpinLock.TryEnter fail fast for timeout 0 (dotnet/coreclr#6952)

* SpinLock.TryEnter fail fast for timeout 0 (2)

* Don't over check SpinLock timeout

When 1ms unlikely to have passed

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

7 years agoClarify code with unobvious precedence (dotnet/coreclr#1624)
Dmitry-Me [Fri, 14 Oct 2016 14:02:00 +0000 (17:02 +0300)]
Clarify code with unobvious precedence (dotnet/coreclr#1624)

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

7 years agoI had unintentionally excluded RuntimeThread.cs when FeatureCoreClr is false. Since...
Koundinya Veluri [Fri, 14 Oct 2016 05:18:23 +0000 (22:18 -0700)]
I had unintentionally excluded RuntimeThread.cs when FeatureCoreClr is false. Since parts of Thread.cs were refactored into RuntimeThread, including RuntimeThread.cs always.

[tfs-changeset: 1633304]

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

7 years agoMerge pull request dotnet/coreclr#7605 from sandreenko/core_rt_1982
sandreenko [Fri, 14 Oct 2016 03:54:57 +0000 (20:54 -0700)]
Merge pull request dotnet/coreclr#7605 from sandreenko/core_rt_1982

Lower helper call inside PInvoke

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

7 years agoMerge pull request dotnet/coreclr#7603 from pgavlin/FixInteropTest
Pat Gavlin [Thu, 13 Oct 2016 23:59:33 +0000 (16:59 -0700)]
Merge pull request dotnet/coreclr#7603 from pgavlin/FixInteropTest

Fix a calling convention in SimpleStructNative.

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

7 years agoEnable DoStackSnapshot API on ARM to walk the current thread (dotnet/coreclr#6933)
kvochko [Thu, 13 Oct 2016 22:17:08 +0000 (01:17 +0300)]
Enable DoStackSnapshot API on ARM to walk the current thread (dotnet/coreclr#6933)

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

7 years agoLower helper call inside PInvoke
Sergey Andreenko [Thu, 13 Oct 2016 22:08:25 +0000 (15:08 -0700)]
Lower helper call inside PInvoke

Lowering can create a helper call. The helper call is inserted to the
part of the block, that was lowered. So the helper call should be
lowered independently.

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

7 years agoMerge pull request dotnet/coreclr#2192 from dasMulli/random-seeding-improvements
Peter Marcu [Thu, 13 Oct 2016 21:55:50 +0000 (14:55 -0700)]
Merge pull request dotnet/coreclr#2192 from dasMulli/random-seeding-improvements

System.Random: Parameterless constructor seeding improvement dotnet/coreclr#1919

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

7 years agoMerge pull request dotnet/coreclr#7602 from smile21prc/coreclr-perf
smile21prc [Thu, 13 Oct 2016 20:38:36 +0000 (13:38 -0700)]
Merge pull request dotnet/coreclr#7602 from smile21prc/coreclr-perf

Make coreclr Windows perf run versionless on benchview binaries

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

7 years agoAdded Docs for Using Visual Studio to Edit and Debug in CoreCLR Repo (dotnet/coreclr...
Vance Morrison [Thu, 13 Oct 2016 20:10:12 +0000 (13:10 -0700)]
Added Docs for Using Visual Studio to Edit and Debug in CoreCLR Repo (dotnet/coreclr#7582)

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

7 years agoMerge pull request dotnet/coreclr#7600 from jkotas/master-UpdateDependencies
Jan Kotas [Thu, 13 Oct 2016 20:09:00 +0000 (13:09 -0700)]
Merge pull request dotnet/coreclr#7600 from jkotas/master-UpdateDependencies

Update CoreClr, CoreFx to beta-24612-03, beta-24612-04, respectively

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

7 years agoMerge pull request dotnet/coreclr#7593 from pgavlin/DisableGCStressTest
Pat Gavlin [Thu, 13 Oct 2016 19:38:43 +0000 (12:38 -0700)]
Merge pull request dotnet/coreclr#7593 from pgavlin/DisableGCStressTest

Disable a test that is not compatible with GC stress.

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

7 years agoFix a calling convention in SimpleStructNative.
Pat Gavlin [Thu, 13 Oct 2016 19:35:48 +0000 (12:35 -0700)]
Fix a calling convention in SimpleStructNative.

The managed code expects `GetFptr` to have the `stdcall` calling
convention. Because of the mismatch, the JIT-generated code was not
cleaning up the stack after P/Invoking to this function on x86, which
was causing a failure during GC stress.

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

7 years agoMake coreclr Windows perf run versionless on benchview so they won't be broken by...
Smile Wei [Thu, 13 Oct 2016 18:59:21 +0000 (11:59 -0700)]
Make coreclr Windows perf run versionless on benchview so they won't be broken by benchview updates.

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

7 years agoUpdate tests to netcoreapp1.1
Jan Kotas [Thu, 13 Oct 2016 08:11:47 +0000 (01:11 -0700)]
Update tests to netcoreapp1.1

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

7 years agoDisable a test that is not compatible with GC stress.
Pat Gavlin [Wed, 12 Oct 2016 22:13:52 +0000 (15:13 -0700)]
Disable a test that is not compatible with GC stress.

This test fails under GCStress=0xC for all of RyuJIT/x86, legacy backend
x86, and JIT32.

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

7 years agoAddressed PR feedback.
dasMulli [Thu, 13 Oct 2016 06:19:52 +0000 (08:19 +0200)]
Addressed PR feedback.

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

7 years agoMove up DOES_NOT_RETURN more
Ben Adams [Thu, 13 Oct 2016 00:04:11 +0000 (01:04 +0100)]
Move up DOES_NOT_RETURN more

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

7 years agoCommon List+Array Exceptions
Ben Adams [Wed, 12 Oct 2016 08:08:48 +0000 (09:08 +0100)]
Common List+Array Exceptions

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

7 years agoCommon CopyTo Exceptions
Ben Adams [Wed, 12 Oct 2016 07:51:55 +0000 (08:51 +0100)]
Common CopyTo Exceptions

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

7 years agoCommon Enumerator exceptions
Ben Adams [Wed, 12 Oct 2016 07:44:32 +0000 (08:44 +0100)]
Common Enumerator exceptions

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

7 years agoUse existing common exceptions
Ben Adams [Wed, 12 Oct 2016 07:30:30 +0000 (08:30 +0100)]
Use existing common exceptions

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

7 years agoMake ThrowHelper paths simple for DOES_NOT_RETURN
Ben Adams [Wed, 12 Oct 2016 06:04:39 +0000 (07:04 +0100)]
Make ThrowHelper paths simple for DOES_NOT_RETURN

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

7 years agoSet DOES_NOT_RETURN flag in fgFindJumpTargets
Ben Adams [Sun, 14 Aug 2016 07:52:22 +0000 (08:52 +0100)]
Set DOES_NOT_RETURN flag in fgFindJumpTargets

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

7 years agoCount BBJ_RETURN in fgMakeBasicBlocks
Ben Adams [Sun, 14 Aug 2016 02:04:24 +0000 (03:04 +0100)]
Count BBJ_RETURN in fgMakeBasicBlocks

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

7 years agoMerge pull request dotnet/coreclr#7510 from kouvel/ApiThread
Koundinya Veluri [Thu, 13 Oct 2016 01:39:30 +0000 (18:39 -0700)]
Merge pull request dotnet/coreclr#7510 from kouvel/ApiThread

Expose some members of the Thread class

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

7 years agoMerge pull request dotnet/coreclr#7595 from dotnet-bot/from-tfs
Jan Kotas [Thu, 13 Oct 2016 00:55:53 +0000 (17:55 -0700)]
Merge pull request dotnet/coreclr#7595 from dotnet-bot/from-tfs

Merge changes from TFS

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

7 years agoMerge pull request dotnet/coreclr#7584 from sivarv/regressionTest
Sivarv [Wed, 12 Oct 2016 23:45:20 +0000 (16:45 -0700)]
Merge pull request dotnet/coreclr#7584 from sivarv/regressionTest

Adding JIT regression test for the re-morph optimzation that transforms JIT_Stelem_Ref(a, null, i)  into a[i]=null.

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

7 years agoMerge pull request dotnet/coreclr#7590 from smile21prc/coreclr-perf
smile21prc [Wed, 12 Oct 2016 23:23:04 +0000 (16:23 -0700)]
Merge pull request dotnet/coreclr#7590 from smile21prc/coreclr-perf

Permanently fix benchview package version, and add code to produce perf-*-summary.xml on Linux

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

7 years agoMerge pull request dotnet/coreclr#7563 from wateret/fix-7398
Carol Eidt [Wed, 12 Oct 2016 22:56:23 +0000 (15:56 -0700)]
Merge pull request dotnet/coreclr#7563 from wateret/fix-7398

[ARM/Linux] Fix HFA unit test regression

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

7 years agoCleanup files excluded from CoreCLR build
Jan Kotas [Wed, 12 Oct 2016 22:26:51 +0000 (15:26 -0700)]
Cleanup files excluded from CoreCLR build

[tfs-changeset: 1633047]

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

7 years agoAddress feedback
Koundinya Veluri [Wed, 12 Oct 2016 22:06:42 +0000 (15:06 -0700)]
Address feedback

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

7 years agoMerge pull request dotnet/coreclr#7585 from CarolEidt/Fix5699
Carol Eidt [Wed, 12 Oct 2016 22:05:51 +0000 (15:05 -0700)]
Merge pull request dotnet/coreclr#7585 from CarolEidt/Fix5699

x86: adjust stack level at throw blocks

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

7 years agox86: adjust stack level at throw blocks
Carol Eidt [Wed, 12 Oct 2016 18:24:18 +0000 (11:24 -0700)]
x86: adjust stack level at throw blocks

When we don't have a frame pointer, we need to adjust the frame pointer before calling the throw helper.
I initially had some concern that we had some exposure from instruction reordering in the backend, but we don't do any reordering of the `GT_PUTARG_STK` nodes. I have added a note to sideeffects.h to call attention to the fact that we need to consider stack depth changes to be side effects, for future consideration should we start doing more general code motion.
For the more general issue, I have extracted the code from codegenlegacy.cpp that does the stack adjustment, and am now unconditionally calling it from both codegenlegacy.cpp and codegenxarch.cpp.

Fix dotnet/coreclr#5699

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

7 years agoReturn false from IsMarshalByRefImpl/IsContextfulImpl when remoting is not supported...
Jan Kotas [Wed, 12 Oct 2016 21:39:43 +0000 (14:39 -0700)]
Return false from IsMarshalByRefImpl/IsContextfulImpl when remoting is not supported (dotnet/coreclr#7583)

Remove references to types have been moved to corefx in the build
Consolidate FEATURE_CORECLR ifdefs

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

7 years agoFail fast on a couple flaky tests to get crash dumps (dotnet/coreclr#7588)
Sean Gillespie [Wed, 12 Oct 2016 21:38:37 +0000 (14:38 -0700)]
Fail fast on a couple flaky tests to get crash dumps (dotnet/coreclr#7588)

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

7 years agoFix a tailcall test that fails with Ready-to-Run (dotnet/coreclr#7586)
John Chen [Wed, 12 Oct 2016 21:02:45 +0000 (14:02 -0700)]
Fix a tailcall test that fails with Ready-to-Run (dotnet/coreclr#7586)

The test case JIT/opt/Tailcall/TailcallVerifyWithPrefix has some methods that
depend on the JIT compiler doing automatic tail call. Since tail is not
supported with Ready-to-Run, the test case is modified to exclude such methods
from Ready-to-Run images.

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

7 years agoPort NullStream.CopyTo override from corert (dotnet/coreclr#7589)
James Ko [Wed, 12 Oct 2016 21:02:21 +0000 (17:02 -0400)]
Port NullStream.CopyTo override from corert (dotnet/coreclr#7589)

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

7 years agoUpdate CoreClr, CoreFx to beta-24612-03, beta-24612-04, respectively
dotnet-bot [Wed, 12 Oct 2016 20:30:02 +0000 (20:30 +0000)]
Update CoreClr, CoreFx to beta-24612-03, beta-24612-04, respectively

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

7 years agoMerge pull request dotnet/coreclr#7557 from sandreenko/long_decomp_6925
sandreenko [Wed, 12 Oct 2016 20:16:55 +0000 (13:16 -0700)]
Merge pull request dotnet/coreclr#7557 from sandreenko/long_decomp_6925

Use the existing operands for long decomposition dotnet/coreclr#6925

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

7 years agoTFS Bug 274079: Activity Tracking does not work with EventListeners
Vance Morrison [Wed, 12 Oct 2016 18:34:52 +0000 (11:34 -0700)]
TFS Bug 274079: Activity Tracking does not work with EventListeners

Basically the automatic creation of activity IDs on start events and the flow of these IDs happened to only be enabled
when ETW subscribes to the events.

This change allows it also to work when EventListener's subscribe.

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

7 years agoRun VS formatting (no semantic change) (dotnet/coreclr#7587)
Vance Morrison [Wed, 12 Oct 2016 19:37:12 +0000 (12:37 -0700)]
Run VS formatting (no semantic change) (dotnet/coreclr#7587)

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

7 years agoDebugging
Smile Wei [Wed, 28 Sep 2016 18:49:59 +0000 (11:49 -0700)]
Debugging

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

7 years agoMove StreamHelpers from corefx and refactor Stream and MemoryStream to use it (dotnet...
James Ko [Wed, 12 Oct 2016 19:07:37 +0000 (15:07 -0400)]
Move StreamHelpers from corefx and refactor Stream and MemoryStream to use it (dotnet/coreclr#7579)

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

7 years agoExpose members of Thread that hide base class members
Koundinya Veluri [Tue, 11 Oct 2016 22:31:12 +0000 (15:31 -0700)]
Expose members of Thread that hide base class members

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

7 years agoFix build issue
Koundinya Veluri [Tue, 11 Oct 2016 04:10:31 +0000 (21:10 -0700)]
Fix build issue

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

7 years agoFix build issue
Koundinya Veluri [Mon, 10 Oct 2016 21:02:46 +0000 (14:02 -0700)]
Fix build issue

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

7 years agoAddress feedback
Koundinya Veluri [Sat, 8 Oct 2016 21:35:02 +0000 (14:35 -0700)]
Address feedback

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

7 years agoExpose some members of the Thread class
Koundinya Veluri [Tue, 27 Sep 2016 20:14:24 +0000 (13:14 -0700)]
Expose some members of the Thread class

- Added RuntimeThread class that Thread derives from. An instance of RuntimeThread will be used by the Thread class in CoreFX to forward thread functionality to the runtime.
- Some functionality in the RuntimeThread could potentially be moved to CoreFX. In particular, some of thread creation and apartment state handling could probably be moved with some minimal help from the runtime. Leaving that refactoring for later.
- A few things are left unimplemented (for instance, apartment state handling doesn't work currently). That functionality will be enabled in a future change.

Part of dotnet/corefxdotnet/coreclr#11632, dotnet/corefxdotnet/coreclr#11638, dotnet/corefxdotnet/coreclr#11635

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